aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common.mk')
-rw-r--r--tmk_core/common.mk15
1 files changed, 2 insertions, 13 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk
index a1eb38c9c..f2a22e4f8 100644
--- a/tmk_core/common.mk
+++ b/tmk_core/common.mk
@@ -17,10 +17,11 @@ SRC += $(COMMON_DIR)/host.c \
# Option modules
ifeq ($(strip $(BOOTMAGIC_ENABLE)), yes)
+ OPT_DEFS += -DBOOTMAGIC_ENABLE
SRC += $(COMMON_DIR)/bootmagic.c
SRC += $(COMMON_DIR)/avr/eeconfig.c
- OPT_DEFS += -DBOOTMAGIC_ENABLE
else
+ OPT_DEFS += -DMAGIC_ENABLE
SRC += $(COMMON_DIR)/magic.c
SRC += $(COMMON_DIR)/avr/eeconfig.c
endif
@@ -51,18 +52,6 @@ ifeq ($(strip $(NKRO_ENABLE)), yes)
OPT_DEFS += -DNKRO_ENABLE
endif
-ifeq ($(strip $(MIDI_ENABLE)), yes)
- OPT_DEFS += -DMIDI_ENABLE
-endif
-
-ifeq ($(strip $(AUDIO_ENABLE)), yes)
- OPT_DEFS += -DAUDIO_ENABLE
-endif
-
-ifeq ($(strip $(UNICODE_ENABLE)), yes)
- OPT_DEFS += -DUNICODE_ENABLE
-endif
-
ifeq ($(strip $(USB_6KRO_ENABLE)), yes)
OPT_DEFS += -DUSB_6KRO_ENABLE
endif