aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2021-04-07 18:40:25 +0200
committerGuilhem Moulin <guilhem@fripost.org>2021-04-07 18:56:05 +0200
commit06914188f5c6331998b1b37645d8576f4f6b2d9c (patch)
tree51a9b60545f5ecb80f2eb589cb0fd66627eb5eb4
parentef3103607b879f02d3af4f84e480a98836946b96 (diff)
Makefile: Add each plugins directory to ARDUINO_LIBS.
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4095d6..604deb7 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,9 @@ LOCAL_CPP_SRCS = $(wildcard $(SOURCEDIR)/*.cpp)
LOCAL_INO_SRCS = $(wildcard $(SOURCEDIR)/*.ino)
USER_LIB_PATH = $(ALTERNATE_CORE_PATH)/libraries
-ARDUINO_LIBS = EEPROM Kaleidoscope KeyboardioHID KeyboardioScanner
+KALEIDOSCOPE_PLUGINS = $(notdir $(wildcard $(USER_LIB_PATH)/Kaleidoscope/plugins/Kaleidoscope-*))
+ARDUINO_LIBS = EEPROM Kaleidoscope KeyboardioHID KeyboardioScanner \
+ $(addprefix Kaleidoscope/plugins/,$(KALEIDOSCOPE_PLUGINS))
# extra definitions from boards.txt
CXXFLAGS = -DARDUINO_AVR_MODEL01 \