Board_AVR: locate recently-moved boards.txt file in arduino-core

This commit is contained in:
squilter 2015-07-31 19:24:23 -07:00 committed by Randy Mackay
parent a39819f17f
commit def4779c47

View File

@ -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