Fix build.core parsing
Disregard anything before first colon. E.g. build.core = arduino:arduino results in CORE = arduino Print CORE.
This commit is contained in:
parent
de602e8b61
commit
e639f81b6c
1 changed files with 4 additions and 1 deletions
|
@ -563,7 +563,10 @@ ifeq ($(strip $(NO_CORE)),)
|
||||||
# 'robot', but can also hold 'tiny', for example, if using
|
# 'robot', but can also hold 'tiny', for example, if using
|
||||||
# https://code.google.com/p/arduino-tiny alternate core.
|
# https://code.google.com/p/arduino-tiny alternate core.
|
||||||
ifndef 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
|
endif
|
||||||
|
|
||||||
# Which variant ? This affects the include path
|
# Which variant ? This affects the include path
|
||||||
|
|
Loading…
Reference in a new issue