From 0e064357f4d0012d0e3386ef19e2f110c79a20a1 Mon Sep 17 00:00:00 2001 From: Richard Marko Date: Mon, 20 Jul 2015 13:37:39 +0200 Subject: [PATCH] makefile: use /etc/avrdude/avrdude.conf on linux No need to look for arduino specific avrdude configuration as distributions ship their own avrdude.conf file that is compatible with arduino. --- Marlin/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Makefile b/Marlin/Makefile index b22cca6713..bc3b7136fa 100644 --- a/Marlin/Makefile +++ b/Marlin/Makefile @@ -350,7 +350,7 @@ LDFLAGS = -lm AVRDUDE_PORT = $(UPLOAD_PORT) AVRDUDE_WRITE_FLASH = -Uflash:w:$(BUILD_DIR)/$(TARGET).hex:i ifeq ($(shell uname -s), Linux) -AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avrdude.conf +AVRDUDE_CONF = /etc/avrdude/avrdude.conf else AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avr/etc/avrdude.conf endif