Update on makefile for moved Arduino addons.
This commit is contained in:
parent
6d9dfa96c3
commit
724f5aa36b
1 changed files with 5 additions and 1 deletions
|
@ -173,7 +173,11 @@ F_CPU ?= 16000000
|
|||
ifeq ($(HARDWARE_VARIANT), arduino)
|
||||
HARDWARE_SRC = $(ARDUINO_INSTALL_DIR)/hardware/arduino/cores/arduino
|
||||
else
|
||||
HARDWARE_SRC = $(HARDWARE_VARIANT)/cores/arduino
|
||||
ifeq ($(shell [ $(ARDUINO_VERSION) -ge 100 ] && echo true), true)
|
||||
HARDWARE_SRC = ../ArduinoAddons/Arduino_1.x.x/$(HARDWARE_VARIANT)/cores/arduino
|
||||
else
|
||||
HARDWARE_SRC = ../ArduinoAddons/Arduino_0.xx/$(HARDWARE_VARIANT)/cores/arduino
|
||||
endif
|
||||
endif
|
||||
|
||||
TARGET = $(notdir $(CURDIR))
|
||||
|
|
Reference in a new issue