diff options
author | Florian Didron <fdidron@users.noreply.github.com> | 2019-04-23 08:42:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 08:42:36 +0900 |
commit | 70945f1146a035da81f2545671f4768a2e97847b (patch) | |
tree | 006423449efd6aed1b50609b43f7cbbdc927d266 /build_keyboard.mk | |
parent | 0a04a0e4191419455fadfeadaaec6696d9dea890 (diff) | |
parent | 4bbdd77e83001f07dd70ad723c951fcea61b48b8 (diff) |
Merge pull request #19 from zsa/feature/split_rgb
Adds the Split RGBLight support
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r-- | build_keyboard.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk index ee6a69fc79..5d633f2716 100644 --- a/build_keyboard.mk +++ b/build_keyboard.mk @@ -280,6 +280,23 @@ ifneq ("$(wildcard $(KEYBOARD_PATH_1)/config.h)","") CONFIG_H += $(KEYBOARD_PATH_1)/config.h endif +POST_CONFIG_H := +ifneq ("$(wildcard $(KEYBOARD_PATH_1)/post_config.h)","") + POST_CONFIG_H += $(KEYBOARD_PATH_1)/post_config.h +endif +ifneq ("$(wildcard $(KEYBOARD_PATH_2)/post_config.h)","") + POST_CONFIG_H += $(KEYBOARD_PATH_2)/post_config.h +endif +ifneq ("$(wildcard $(KEYBOARD_PATH_3)/post_config.h)","") + POST_CONFIG_H += $(KEYBOARD_PATH_3)/post_config.h +endif +ifneq ("$(wildcard $(KEYBOARD_PATH_4)/post_config.h)","") + POST_CONFIG_H += $(KEYBOARD_PATH_4)/post_config.h +endif +ifneq ("$(wildcard $(KEYBOARD_PATH_5)/post_config.h)","") + POST_CONFIG_H += $(KEYBOARD_PATH_5)/post_config.h +endif + # Save the defines and includes here, so we don't include any keymap specific ones PROJECT_DEFS := $(OPT_DEFS) PROJECT_INC := $(VPATH) $(EXTRAINCDIRS) $(KEYBOARD_PATHS) @@ -355,6 +372,7 @@ ifeq ($(strip $(VISUALIZER_ENABLE)), yes) include $(VISUALIZER_PATH)/visualizer.mk endif +CONFIG_H += $(POST_CONFIG_H) ALL_CONFIGS := $(PROJECT_CONFIG) $(CONFIG_H) OUTPUTS := $(KEYMAP_OUTPUT) $(KEYBOARD_OUTPUT) |