mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Board_AVR: locate recently-moved boards.txt file in arduino-core
This commit is contained in:
parent
a39819f17f
commit
def4779c47
@ -70,7 +70,10 @@ BOARD ?= mega2560
|
||||
|
||||
# Find the hardware directory to use
|
||||
HARDWARE_DIR := $(firstword $(wildcard $(SKETCHBOOK)/hardware/$(HARDWARE) \
|
||||
$(ARDUINO)/hardware/$(HARDWARE)))
|
||||
$(ARDUINO)/hardware/$(HARDWARE)/avr \
|
||||
$(ARDUINO)/hardware/$(HARDWARE) \
|
||||
)\
|
||||
)
|
||||
ifeq ($(HARDWARE_DIR),)
|
||||
$(error ERROR: hardware directory for $(HARDWARE) not found)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user