aboutsummaryrefslogtreecommitdiff
path: root/Arduino.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Arduino.mk')
-rw-r--r--Arduino.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/Arduino.mk b/Arduino.mk
index 8c878a4..a5b9bba 100644
--- a/Arduino.mk
+++ b/Arduino.mk
@@ -563,7 +563,10 @@ ifeq ($(strip $(NO_CORE)),)
# 'robot', but can also hold 'tiny', for example, if using
# https://code.google.com/p/arduino-tiny alternate core.
ifndef CORE
- CORE = $(call PARSE_BOARD,$(BOARD_TAG),build.core)
+ CORE = $(shell echo $(call PARSE_BOARD,$(BOARD_TAG),build.core) | cut -d : -f 2)
+ $(call show_config_variable,CORE,[COMPUTED],(from build.core))
+ else
+ $(call show_config_variable,CORE,[USER])
endif
# Which variant ? This affects the include path