Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2015-05-19 22:45:45 -0400
committerDoug Schaefer2015-05-29 11:22:42 -0400
commit583cbf250341aaca921657543807a621d6879284 (patch)
treebc4891a256b82f03b5162361b6b558a36b6fce99 /toolchains/arduino/org.eclipse.cdt.arduino-feature
parent10e011fa339c78bc6ad4a365319a3a96ca471e0a (diff)
downloadorg.eclipse.cdt-583cbf250341aaca921657543807a621d6879284.tar.gz
org.eclipse.cdt-583cbf250341aaca921657543807a621d6879284.tar.xz
org.eclipse.cdt-583cbf250341aaca921657543807a621d6879284.zip
Start work to build against the Arduino IDE.
Diffstat (limited to 'toolchains/arduino/org.eclipse.cdt.arduino-feature')
-rw-r--r--toolchains/arduino/org.eclipse.cdt.arduino-feature/rootfiles/arduino/arduino.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchains/arduino/org.eclipse.cdt.arduino-feature/rootfiles/arduino/arduino.mk b/toolchains/arduino/org.eclipse.cdt.arduino-feature/rootfiles/arduino/arduino.mk
index 9efc895422..5b1484770d 100644
--- a/toolchains/arduino/org.eclipse.cdt.arduino-feature/rootfiles/arduino/arduino.mk
+++ b/toolchains/arduino/org.eclipse.cdt.arduino-feature/rootfiles/arduino/arduino.mk
@@ -69,7 +69,7 @@ LIB_SRCS = $(call rwildcard, $(LIB_ROOT)/, *.c *.cpp)
LIB_OBJS = $(patsubst $(LIB_ROOT)/%.c, $(OUTPUT_DIR)/arduino/%.o, $(filter %.c, $(LIB_SRCS))) \
$(patsubst $(LIB_ROOT)/%.cpp, $(OUTPUT_DIR)/arduino/%.o, $(filter %.cpp, $(LIB_SRCS)))
-LIBS_ROOTS = $(HOME)/Documents/Arduino/libraries $(ARDUINO_HOME)/hardware/arduino/$(ARCH)/libraries $(ARDUINO_HOME)/libraries
+LIBS_ROOTS = $(ARDUINO_LIBS) $(ARDUINO_HOME)/hardware/arduino/$(ARCH)/libraries $(ARDUINO_HOME)/libraries
LIBS_DIRS = $(foreach lib, $(LIBS), $(firstword $(realpath $(foreach lib_root, $(LIBS_ROOTS), $(lib_root)/$(lib)))))

Back to the top