summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-06-23 10:53:00 +1000
committerGitHub <noreply@github.com>2021-06-23 10:53:00 +1000
commit4319aca91c13d817398016164bdfb0d0720e6f4b (patch)
tree15483e38c369137edc6a96947577e3ce9b09a03d
parent973a006c4561218eef365733558c1c31e2abdb49 (diff)
Fix linker error when rgblight and RGB Matrix are both enabled (#13304)
-rw-r--r--common_features.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/common_features.mk b/common_features.mk
index 33a8da23d7..a790b84328 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -233,9 +233,9 @@ endif
COMMON_VPATH += $(QUANTUM_DIR)/led_matrix
COMMON_VPATH += $(QUANTUM_DIR)/led_matrix/animations
COMMON_VPATH += $(QUANTUM_DIR)/led_matrix/animations/runners
- SRC += process_backlight.c
- SRC += led_matrix.c
- SRC += led_matrix_drivers.c
+ SRC += $(QUANTUM_DIR)/process_keycode/process_backlight.c
+ SRC += $(QUANTUM_DIR)/led_matrix/led_matrix.c
+ SRC += $(QUANTUM_DIR)/led_matrix/led_matrix_drivers.c
CIE1931_CURVE := yes
ifeq ($(strip $(LED_MATRIX_DRIVER)), IS31FL3731)
@@ -261,9 +261,9 @@ endif
COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix
COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix/animations
COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix/animations/runners
- SRC += color.c
- SRC += rgb_matrix.c
- SRC += rgb_matrix_drivers.c
+ SRC += $(QUANTUM_DIR)/color.c
+ SRC += $(QUANTUM_DIR)/rgb_matrix/rgb_matrix.c
+ SRC += $(QUANTUM_DIR)/rgb_matrix/rgb_matrix_drivers.c
CIE1931_CURVE := yes
RGB_KEYCODES_ENABLE := yes