diff options
Diffstat (limited to 'common_features.mk')
-rw-r--r-- | common_features.mk | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/common_features.mk b/common_features.mk index 9c6fc9cdf..33a8da23d 100644 --- a/common_features.mk +++ b/common_features.mk | |||
@@ -230,9 +230,12 @@ ifneq (,$(filter $(MCU), atmega16u2 atmega32u2 at90usb162)) | |||
230 | # ATmegaxxU2 does not have hardware MUL instruction - lib8tion must be told to use software multiplication routines | 230 | # ATmegaxxU2 does not have hardware MUL instruction - lib8tion must be told to use software multiplication routines |
231 | OPT_DEFS += -DLIB8_ATTINY | 231 | OPT_DEFS += -DLIB8_ATTINY |
232 | endif | 232 | endif |
233 | SRC += $(QUANTUM_DIR)/process_keycode/process_backlight.c | 233 | COMMON_VPATH += $(QUANTUM_DIR)/led_matrix |
234 | SRC += $(QUANTUM_DIR)/led_matrix.c | 234 | COMMON_VPATH += $(QUANTUM_DIR)/led_matrix/animations |
235 | SRC += $(QUANTUM_DIR)/led_matrix_drivers.c | 235 | COMMON_VPATH += $(QUANTUM_DIR)/led_matrix/animations/runners |
236 | SRC += process_backlight.c | ||
237 | SRC += led_matrix.c | ||
238 | SRC += led_matrix_drivers.c | ||
236 | CIE1931_CURVE := yes | 239 | CIE1931_CURVE := yes |
237 | 240 | ||
238 | ifeq ($(strip $(LED_MATRIX_DRIVER)), IS31FL3731) | 241 | ifeq ($(strip $(LED_MATRIX_DRIVER)), IS31FL3731) |
@@ -255,9 +258,12 @@ ifneq (,$(filter $(MCU), atmega16u2 atmega32u2 at90usb162)) | |||
255 | # ATmegaxxU2 does not have hardware MUL instruction - lib8tion must be told to use software multiplication routines | 258 | # ATmegaxxU2 does not have hardware MUL instruction - lib8tion must be told to use software multiplication routines |
256 | OPT_DEFS += -DLIB8_ATTINY | 259 | OPT_DEFS += -DLIB8_ATTINY |
257 | endif | 260 | endif |
258 | SRC += $(QUANTUM_DIR)/color.c | 261 | COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix |
259 | SRC += $(QUANTUM_DIR)/rgb_matrix.c | 262 | COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix/animations |
260 | SRC += $(QUANTUM_DIR)/rgb_matrix_drivers.c | 263 | COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix/animations/runners |
264 | SRC += color.c | ||
265 | SRC += rgb_matrix.c | ||
266 | SRC += rgb_matrix_drivers.c | ||
261 | CIE1931_CURVE := yes | 267 | CIE1931_CURVE := yes |
262 | RGB_KEYCODES_ENABLE := yes | 268 | RGB_KEYCODES_ENABLE := yes |
263 | 269 | ||