mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -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
|
# Find the hardware directory to use
|
||||||
HARDWARE_DIR := $(firstword $(wildcard $(SKETCHBOOK)/hardware/$(HARDWARE) \
|
HARDWARE_DIR := $(firstword $(wildcard $(SKETCHBOOK)/hardware/$(HARDWARE) \
|
||||||
$(ARDUINO)/hardware/$(HARDWARE)))
|
$(ARDUINO)/hardware/$(HARDWARE)/avr \
|
||||||
|
$(ARDUINO)/hardware/$(HARDWARE) \
|
||||||
|
)\
|
||||||
|
)
|
||||||
ifeq ($(HARDWARE_DIR),)
|
ifeq ($(HARDWARE_DIR),)
|
||||||
$(error ERROR: hardware directory for $(HARDWARE) not found)
|
$(error ERROR: hardware directory for $(HARDWARE) not found)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user