Update on makefile for moved Arduino addons.

This commit is contained in:
Daid 2012-12-10 12:06:30 +01:00
parent 6d9dfa96c3
commit 724f5aa36b

View File

@ -173,7 +173,11 @@ F_CPU ?= 16000000
ifeq ($(HARDWARE_VARIANT), arduino) ifeq ($(HARDWARE_VARIANT), arduino)
HARDWARE_SRC = $(ARDUINO_INSTALL_DIR)/hardware/arduino/cores/arduino HARDWARE_SRC = $(ARDUINO_INSTALL_DIR)/hardware/arduino/cores/arduino
else 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 endif
TARGET = $(notdir $(CURDIR)) TARGET = $(notdir $(CURDIR))