aboutsummaryrefslogtreecommitdiff
path: root/Common.mk
diff options
context:
space:
mode:
authorSimon John <git@the-jedi.co.uk>2018-02-24 16:01:00 +0000
committerGitHub <noreply@github.com>2018-02-24 16:01:00 +0000
commit80b81672062c3729a14a07dbc2c933d823e6c0b8 (patch)
tree3bde2adcc00485a98da3f74839462238d42c38ee /Common.mk
parent84803734779ddb4af0b8afb1f7de4c9d15771859 (diff)
parentf80486609505876fb0f103c3c1d03aba8f6a0f79 (diff)
Merge pull request #543 from tuna-f1sh/sam
Arduino Atmel SAM family Support (ARM architecture) Thanks @tuna-f1sh !
Diffstat (limited to 'Common.mk')
-rw-r--r--Common.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/Common.mk b/Common.mk
index a8bd46a..5f30fba 100644
--- a/Common.mk
+++ b/Common.mk
@@ -1,3 +1,4 @@
+COMMON_INCLUDED = TRUE
# Useful functions
# Returns the first argument (typically a directory), if the file or directory
# named by concatenating the first and optionally second argument
@@ -26,8 +27,11 @@ show_config_variable = $(call show_config_info,$(1) = $($(1)) $(3),$(2))
# Just a nice simple visual separator
show_separator = $(call arduino_output,-------------------------)
+# Master Arduino Makefile include (after user Makefile)
+ardmk_include = $(shell basename $(word 2,$(MAKEFILE_LIST)))
+
$(call show_separator)
-$(call arduino_output,Arduino.mk Configuration:)
+$(call arduino_output,$(call ardmk_include) Configuration:)
########################################################################
#