mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 01:33:56 -04:00
build: Adding a check for Darwin when adding avrdude.conf's flag for uploading.
This commit is contained in:
parent
6187c66147
commit
1c17bed1ef
@ -94,6 +94,10 @@ endif
|
||||
ifneq ($(findstring MINGW, $(SYSTYPE)),)
|
||||
USERAVRDUDEFLAGS := -C $(ARDUINO)/hardware/tools/avr/etc/avrdude.conf
|
||||
endif
|
||||
#make sure the avrdude conf file is referenced correctly in darwin
|
||||
ifneq ($(findstring Darwin, $(SYSTYPE)),)
|
||||
USERAVRDUDEFLAGS := -C $(ARDUINO)/hardware/tools/avr/etc/avrdude.conf
|
||||
endif
|
||||
|
||||
ifeq ($(UPLOAD_PROTOCOL),)
|
||||
UPLOAD_PROTOCOL := $(shell grep $(BOARD).upload.protocol $(BOARDFILE) | cut -d = -f 2)
|
||||
|
Loading…
Reference in New Issue
Block a user