diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2021-04-07 18:40:25 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2021-04-07 18:56:05 +0200 |
commit | 06914188f5c6331998b1b37645d8576f4f6b2d9c (patch) | |
tree | 51a9b60545f5ecb80f2eb589cb0fd66627eb5eb4 | |
parent | ef3103607b879f02d3af4f84e480a98836946b96 (diff) |
Makefile: Add each plugins directory to ARDUINO_LIBS.
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 \ |