Only set AVRDUDE_CONF if it's not set, as per Tom Hall's patch

This commit is contained in:
Martin Oldfield 2012-09-17 16:38:46 +01:00
parent c02da764ac
commit 9395817c96

View file

@ -285,9 +285,11 @@ ifdef ARDUINO_DIR
ifndef AVR_TOOLS_DIR
AVR_TOOLS_DIR = $(ARDUINO_DIR)/hardware/tools/avr
# The avrdude bundled with Arduino can't find it's config
# The avrdude bundled with Arduino can't find its config
ifndef AVRDUDE_CONF
AVRDUDE_CONF = $(AVR_TOOLS_DIR)/etc/avrdude.conf
endif
endif
ifndef AVR_TOOLS_PATH
AVR_TOOLS_PATH = $(AVR_TOOLS_DIR)/bin