AVRDUDE_CONF gets set when not in windows

Relating to sudar/Arduino-Makefile#381
This commit is contained in:
Chase Lambert 2015-09-07 17:35:54 -07:00
parent 69f3db0bff
commit bebe3b5ebb

View file

@ -452,11 +452,9 @@ else
# Check in Windows as Cygwin is being used, that the configuration file for the AVRDUDE is set
# Check if it works on MAC
ifeq ($(CURRENT_OS),WINDOWS)
ifndef AVRDUDE_CONF
AVRDUDE_CONF = $(AVR_TOOLS_DIR)/etc/avrdude.conf
endif
endif
endif #ndef AVR_TOOLS_DIR