Sfoglia il codice sorgente

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 anni fa
parent
commit
0e064357f4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      Marlin/Makefile

+ 1
- 1
Marlin/Makefile Vedi File

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

Loading…
Annulla
Salva