diff options
Diffstat (limited to 'tmk_core/common.mk')
-rw-r--r-- | tmk_core/common.mk | 15 |
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 |
19 | ifeq ($(strip $(BOOTMAGIC_ENABLE)), yes) | 19 | ifeq ($(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 | ||
23 | else | 23 | else |
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 |
26 | endif | 27 | endif |
@@ -51,18 +52,6 @@ ifeq ($(strip $(NKRO_ENABLE)), yes) | |||
51 | OPT_DEFS += -DNKRO_ENABLE | 52 | OPT_DEFS += -DNKRO_ENABLE |
52 | endif | 53 | endif |
53 | 54 | ||
54 | ifeq ($(strip $(MIDI_ENABLE)), yes) | ||
55 | OPT_DEFS += -DMIDI_ENABLE | ||
56 | endif | ||
57 | |||
58 | ifeq ($(strip $(AUDIO_ENABLE)), yes) | ||
59 | OPT_DEFS += -DAUDIO_ENABLE | ||
60 | endif | ||
61 | |||
62 | ifeq ($(strip $(UNICODE_ENABLE)), yes) | ||
63 | OPT_DEFS += -DUNICODE_ENABLE | ||
64 | endif | ||
65 | |||
66 | ifeq ($(strip $(USB_6KRO_ENABLE)), yes) | 55 | ifeq ($(strip $(USB_6KRO_ENABLE)), yes) |
67 | OPT_DEFS += -DUSB_6KRO_ENABLE | 56 | OPT_DEFS += -DUSB_6KRO_ENABLE |
68 | endif | 57 | endif |