aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudar <sudar@sudarmuthu.com>2013-06-29 16:43:52 +0530
committerSudar <sudar@sudarmuthu.com>2013-06-29 16:43:52 +0530
commitbf4177567623dee3e274e59162afa4b2bacedaf5 (patch)
tree60b9e79d79f51b4abf75d2b71d077e867b198f92
parent13804ff8615e0e1714f1e24fcf394aa6ab75377e (diff)
Print config info about AVR_TOOLS_DIR always
In 25a31afbd92f03a1df1b50e3620f40afedd2e67e 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.
-rw-r--r--arduino-mk/Arduino.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk
index aaec9aa..16f7d66 100644
--- a/arduino-mk/Arduino.mk
+++ b/arduino-mk/Arduino.mk
@@ -306,11 +306,12 @@ ifndef AVR_TOOLS_DIR
BUNDLED_AVR_TOOLS_DIR := $(call dir_if_exists,$(ARDUINO_DIR)/hardware/tools/avr)
ifdef 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
ifndef AVRDUDE_CONF
# The avrdude bundled with Arduino can't find it's config
AVRDUDE_CONF = $(AVR_TOOLS_DIR)/etc/avrdude.conf
- $(call show_config_variable,AVR_TOOLS_DIR,[BUNDLED],(in Arduino distribution))
endif
else