diff options
Diffstat (limited to 'common_features.mk')
| -rw-r--r-- | common_features.mk | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/common_features.mk b/common_features.mk index e50207b0b..1c814286c 100644 --- a/common_features.mk +++ b/common_features.mk | |||
| @@ -407,12 +407,18 @@ ifeq ($(strip $(SPACE_CADET_ENABLE)), yes) | |||
| 407 | OPT_DEFS += -DSPACE_CADET_ENABLE | 407 | OPT_DEFS += -DSPACE_CADET_ENABLE |
| 408 | endif | 408 | endif |
| 409 | 409 | ||
| 410 | ifeq ($(strip $(DIP_SWITCH_ENABLE)), yes) | 410 | MAGIC_ENABLE ?= yes |
| 411 | SRC += $(QUANTUM_DIR)/dip_switch.c | 411 | ifeq ($(strip $(MAGIC_ENABLE)), yes) |
| 412 | OPT_DEFS += -DDIP_SWITCH_ENABLE | 412 | SRC += $(QUANTUM_DIR)/process_keycode/process_magic.c |
| 413 | OPT_DEFS += -DMAGIC_KEYCODE_ENABLE | ||
| 413 | endif | 414 | endif |
| 414 | 415 | ||
| 415 | ifeq ($(strip $(DYNAMIC_MACRO_ENABLE)), yes) | 416 | ifeq ($(strip $(DYNAMIC_MACRO_ENABLE)), yes) |
| 416 | SRC += $(QUANTUM_DIR)/process_keycode/process_dynamic_macro.c | 417 | SRC += $(QUANTUM_DIR)/process_keycode/process_dynamic_macro.c |
| 417 | OPT_DEFS += -DDYNAMIC_MACRO_ENABLE | 418 | OPT_DEFS += -DDYNAMIC_MACRO_ENABLE |
| 418 | endif | 419 | endif |
| 420 | |||
| 421 | ifeq ($(strip $(DIP_SWITCH_ENABLE)), yes) | ||
| 422 | SRC += $(QUANTUM_DIR)/dip_switch.c | ||
| 423 | OPT_DEFS += -DDIP_SWITCH_ENABLE | ||
| 424 | endif | ||
