summaryrefslogtreecommitdiffstats
path: root/users/drashna/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/rules.mk')
-rw-r--r--users/drashna/rules.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/users/drashna/rules.mk b/users/drashna/rules.mk
index 4bc71b6939..12fa956b7d 100644
--- a/users/drashna/rules.mk
+++ b/users/drashna/rules.mk
@@ -53,6 +53,7 @@ CUSTOM_RGBLIGHT ?= yes
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
ifeq ($(strip $(CUSTOM_RGBLIGHT)), yes)
SRC += $(USER_PATH)/rgb/rgb_stuff.c
+ OPT_DEFS += -DCUSTOM_RGBLIGHT
ifeq ($(strip $(RGBLIGHT_NOEEPROM)), yes)
OPT_DEFS += -DRGBLIGHT_NOEEPROM
endif
@@ -67,6 +68,7 @@ CUSTOM_RGB_MATRIX ?= yes
ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
ifeq ($(strip $(CUSTOM_RGB_MATRIX)), yes)
SRC += $(USER_PATH)/rgb/rgb_matrix_stuff.c
+ OPT_DEFS += -DCUSTOM_RGB_MATRIX
endif
endif
@@ -86,7 +88,7 @@ ifeq ($(strip $(OLED_ENABLE)), yes)
QUANTUM_LIB_SRC += i2c_master.c
endif
ifeq ($(strip $(CUSTOM_OLED_DRIVER)), yes)
- OPT_DEFS += -DCUSTOM_OLED_DRIVER_CODE
+ OPT_DEFS += -DCUSTOM_OLED_DRIVER
SRC += $(USER_PATH)/oled/oled_stuff.c
endif
ifeq ($(strip $(OLED_DISPLAY_TEST)), yes)
@@ -99,6 +101,7 @@ CUSTOM_POINTING_DEVICE ?= yes
ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes)
ifeq ($(strip $(CUSTOM_POINTING_DEVICE)), yes)
SRC += $(USER_PATH)/pointing/pointing.c
+ OPT_DEFS += -DCUSTOM_POINTING_DEVICE
endif
endif