Print config info about AVR_TOOLS_DIR always
In 25a31afbd9
a bug was introduced which
prevented the config info for AVR_TOOLS_DIR to be printed when
AVRDUDE_CONF was defined.
This commit moves the config printing statement for AVR_TOOLS_DIR
outside the condition which checks whether AVRDUDE_CONF is defined.
This commit is contained in:
parent
13804ff861
commit
bf41775676
1 changed files with 2 additions and 1 deletions
|
@ -306,11 +306,12 @@ ifndef AVR_TOOLS_DIR
|
||||||
BUNDLED_AVR_TOOLS_DIR := $(call dir_if_exists,$(ARDUINO_DIR)/hardware/tools/avr)
|
BUNDLED_AVR_TOOLS_DIR := $(call dir_if_exists,$(ARDUINO_DIR)/hardware/tools/avr)
|
||||||
ifdef BUNDLED_AVR_TOOLS_DIR
|
ifdef BUNDLED_AVR_TOOLS_DIR
|
||||||
AVR_TOOLS_DIR = $(BUNDLED_AVR_TOOLS_DIR)
|
AVR_TOOLS_DIR = $(BUNDLED_AVR_TOOLS_DIR)
|
||||||
|
$(call show_config_variable,AVR_TOOLS_DIR,[BUNDLED],(in Arduino distribution))
|
||||||
|
|
||||||
# if AVRDUDE_CONF is already defined, don't overwrite it
|
# if AVRDUDE_CONF is already defined, don't overwrite it
|
||||||
ifndef AVRDUDE_CONF
|
ifndef AVRDUDE_CONF
|
||||||
# The avrdude bundled with Arduino can't find it's config
|
# The avrdude bundled with Arduino can't find it's config
|
||||||
AVRDUDE_CONF = $(AVR_TOOLS_DIR)/etc/avrdude.conf
|
AVRDUDE_CONF = $(AVR_TOOLS_DIR)/etc/avrdude.conf
|
||||||
$(call show_config_variable,AVR_TOOLS_DIR,[BUNDLED],(in Arduino distribution))
|
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue