Procházet zdrojové kódy

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 před 9 roky
rodič
revize
0e064357f4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      Marlin/Makefile

+ 1
- 1
Marlin/Makefile Zobrazit soubor

@@ -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…
Zrušit
Uložit