summaryrefslogtreecommitdiffstats
path: root/common_features.mk
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-06-28 15:15:24 +1000
committerGitHub <noreply@github.com>2021-06-28 15:15:24 +1000
commitcb23fe9fc1fa6e2219380228ae589f3d733ea4e6 (patch)
tree8383c0cbf24389a4bfad04880f13d1a7e0098366 /common_features.mk
parent5a5015594f44f8b7f7d3c5bc43479c3e670656d6 (diff)
Move RGBLight code into its own folder (#13312)
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/common_features.mk b/common_features.mk
index 9373d1de25..2d3f00d216 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -196,10 +196,11 @@ ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
ifeq ($(filter $(RGBLIGHT_DRIVER),$(VALID_RGBLIGHT_TYPES)),)
$(error RGBLIGHT_DRIVER="$(RGBLIGHT_DRIVER)" is not a valid RGB type)
else
- POST_CONFIG_H += $(QUANTUM_DIR)/rgblight_post_config.h
+ COMMON_VPATH += $(QUANTUM_DIR)/rgblight
+ POST_CONFIG_H += $(QUANTUM_DIR)/rgblight/rgblight_post_config.h
OPT_DEFS += -DRGBLIGHT_ENABLE
SRC += $(QUANTUM_DIR)/color.c
- SRC += $(QUANTUM_DIR)/rgblight.c
+ SRC += $(QUANTUM_DIR)/rgblight/rgblight.c
CIE1931_CURVE := yes
RGB_KEYCODES_ENABLE := yes
endif