aboutsummaryrefslogtreecommitdiff
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 \
17 17
18# Option modules 18# Option modules
19ifeq ($(strip $(BOOTMAGIC_ENABLE)), yes) 19ifeq ($(strip $(BOOTMAGIC_ENABLE)), yes)
20 OPT_DEFS += -DBOOTMAGIC_ENABLE
20 SRC += $(COMMON_DIR)/bootmagic.c 21 SRC += $(COMMON_DIR)/bootmagic.c
21 SRC += $(COMMON_DIR)/avr/eeconfig.c 22 SRC += $(COMMON_DIR)/avr/eeconfig.c
22 OPT_DEFS += -DBOOTMAGIC_ENABLE
23else 23else
24 OPT_DEFS += -DMAGIC_ENABLE
24 SRC += $(COMMON_DIR)/magic.c 25 SRC += $(COMMON_DIR)/magic.c
25 SRC += $(COMMON_DIR)/avr/eeconfig.c 26 SRC += $(COMMON_DIR)/avr/eeconfig.c
26endif 27endif
@@ -51,18 +52,6 @@ ifeq ($(strip $(NKRO_ENABLE)), yes)
51 OPT_DEFS += -DNKRO_ENABLE 52 OPT_DEFS += -DNKRO_ENABLE
52endif 53endif
53 54
54ifeq ($(strip $(MIDI_ENABLE)), yes)
55 OPT_DEFS += -DMIDI_ENABLE
56endif
57
58ifeq ($(strip $(AUDIO_ENABLE)), yes)
59 OPT_DEFS += -DAUDIO_ENABLE
60endif
61
62ifeq ($(strip $(UNICODE_ENABLE)), yes)
63 OPT_DEFS += -DUNICODE_ENABLE
64endif
65
66ifeq ($(strip $(USB_6KRO_ENABLE)), yes) 55ifeq ($(strip $(USB_6KRO_ENABLE)), yes)
67 OPT_DEFS += -DUSB_6KRO_ENABLE 56 OPT_DEFS += -DUSB_6KRO_ENABLE
68endif 57endif