소스 검색

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 년 전
부모
커밋
0e064357f4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/Makefile

+ 1
- 1
Marlin/Makefile 파일 보기

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…
취소
저장