aboutsummaryrefslogtreecommitdiff
path: root/common_features.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk17
1 files changed, 12 insertions, 5 deletions
diff --git a/common_features.mk b/common_features.mk
index 2c24eb28c..425d5b473 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -420,6 +420,12 @@ ifeq ($(strip $(LEADER_ENABLE)), yes)
420 OPT_DEFS += -DLEADER_ENABLE 420 OPT_DEFS += -DLEADER_ENABLE
421endif 421endif
422 422
423
424ifeq ($(strip $(DIP_SWITCH_ENABLE)), yes)
425 SRC += $(QUANTUM_DIR)/dip_switch.c
426 OPT_DEFS += -DDIP_SWITCH_ENABLE
427endif
428
423include $(DRIVER_PATH)/qwiic/qwiic.mk 429include $(DRIVER_PATH)/qwiic/qwiic.mk
424 430
425QUANTUM_SRC:= \ 431QUANTUM_SRC:= \
@@ -505,12 +511,13 @@ ifeq ($(strip $(MAGIC_ENABLE)), yes)
505 OPT_DEFS += -DMAGIC_KEYCODE_ENABLE 511 OPT_DEFS += -DMAGIC_KEYCODE_ENABLE
506endif 512endif
507 513
514GRAVE_ESC_ENABLE ?= yes
515ifeq ($(strip $(GRAVE_ESC_ENABLE)), yes)
516 SRC += $(QUANTUM_DIR)/process_keycode/process_grave_esc.c
517 OPT_DEFS += -DGRAVE_ESC_ENABLE
518endif
519
508ifeq ($(strip $(DYNAMIC_MACRO_ENABLE)), yes) 520ifeq ($(strip $(DYNAMIC_MACRO_ENABLE)), yes)
509 SRC += $(QUANTUM_DIR)/process_keycode/process_dynamic_macro.c 521 SRC += $(QUANTUM_DIR)/process_keycode/process_dynamic_macro.c
510 OPT_DEFS += -DDYNAMIC_MACRO_ENABLE 522 OPT_DEFS += -DDYNAMIC_MACRO_ENABLE
511endif 523endif
512
513ifeq ($(strip $(DIP_SWITCH_ENABLE)), yes)
514 SRC += $(QUANTUM_DIR)/dip_switch.c
515 OPT_DEFS += -DDIP_SWITCH_ENABLE
516endif