Browse Source

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.
Richard Marko 10 years ago
parent
commit
0e064357f4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Makefile

+ 1
- 1
Marlin/Makefile View File

350
 AVRDUDE_PORT = $(UPLOAD_PORT)
350
 AVRDUDE_PORT = $(UPLOAD_PORT)
351
 AVRDUDE_WRITE_FLASH = -Uflash:w:$(BUILD_DIR)/$(TARGET).hex:i
351
 AVRDUDE_WRITE_FLASH = -Uflash:w:$(BUILD_DIR)/$(TARGET).hex:i
352
 ifeq ($(shell uname -s), Linux)
352
 ifeq ($(shell uname -s), Linux)
353
-AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avrdude.conf
353
+AVRDUDE_CONF = /etc/avrdude/avrdude.conf
354
 else
354
 else
355
 AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avr/etc/avrdude.conf
355
 AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avr/etc/avrdude.conf
356
 endif
356
 endif

Loading…
Cancel
Save