Only set AVRDUDE_CONF if it's not set, as per Tom Hall's patch
This commit is contained in:
parent
c02da764ac
commit
9395817c96
1 changed files with 3 additions and 1 deletions
|
@ -285,9 +285,11 @@ ifdef ARDUINO_DIR
|
||||||
|
|
||||||
ifndef AVR_TOOLS_DIR
|
ifndef AVR_TOOLS_DIR
|
||||||
AVR_TOOLS_DIR = $(ARDUINO_DIR)/hardware/tools/avr
|
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
|
AVRDUDE_CONF = $(AVR_TOOLS_DIR)/etc/avrdude.conf
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef AVR_TOOLS_PATH
|
ifndef AVR_TOOLS_PATH
|
||||||
AVR_TOOLS_PATH = $(AVR_TOOLS_DIR)/bin
|
AVR_TOOLS_PATH = $(AVR_TOOLS_DIR)/bin
|
||||||
|
|
Loading…
Reference in a new issue