|
@@ -190,8 +190,13 @@ TARGET = $(notdir $(CURDIR))
|
190
|
190
|
VPATH = .
|
191
|
191
|
VPATH += $(BUILD_DIR)
|
192
|
192
|
VPATH += $(HARDWARE_SRC)
|
|
193
|
+ifeq ($(HARDWARE_VARIANT), arduino)
|
|
194
|
+VPATH += $(ARDUINO_INSTALL_DIR)/libraries/LiquidCrystal
|
|
195
|
+VPATH += $(ARDUINO_INSTALL_DIR)/libraries/SPI
|
|
196
|
+else
|
193
|
197
|
VPATH += $(HARDWARE_DIR)/libraries/LiquidCrystal
|
194
|
198
|
VPATH += $(HARDWARE_DIR)/libraries/SPI
|
|
199
|
+endif
|
195
|
200
|
ifeq ($(HARDWARE_VARIANT), arduino)
|
196
|
201
|
HARDWARE_SUB_VARIANT ?= mega
|
197
|
202
|
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/variants/$(HARDWARE_SUB_VARIANT)
|