summaryrefslogtreecommitdiff
path: root/quantum/quantum.mk
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-04-14 22:33:18 -0500
committerIBNobody <ibnobody@gmail.com>2016-04-14 22:33:18 -0500
commit66c1024bd328b687fba0645f70469094e75d624c (patch)
treec1d029247857cbbdff7c598129e8b5aa84500261 /quantum/quantum.mk
parent3993afbb2e022f4e6371c729ac6a025f16bc734e (diff)
parentd4f90fe882b33a99fd94e1befdf21323293e71ea (diff)
fixed merging
Diffstat (limited to 'quantum/quantum.mk')
-rw-r--r--quantum/quantum.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/quantum.mk b/quantum/quantum.mk
index de93af7e8c..3069f582c3 100644
--- a/quantum/quantum.mk
+++ b/quantum/quantum.mk
@@ -23,19 +23,19 @@ ifndef CUSTOM_MATRIX
SRC += $(QUANTUM_DIR)/matrix.c
endif
-ifdef MIDI_ENABLE
+ifeq ($(MIDI_ENABLE), yes)
SRC += $(QUANTUM_DIR)/keymap_midi.c
endif
-ifdef AUDIO_ENABLE
+ifeq ($(AUDIO_ENABLE), yes)
SRC += $(QUANTUM_DIR)/audio.c
endif
-ifdef UNICODE_ENABLE
+ifeq ($(UNICODE_ENABLE), yes)
SRC += $(QUANTUM_DIR)/keymap_unicode.c
endif
-ifdef RGBLIGHT_ENABLE
+ifeq ($(RGBLIGHT_ENABLE), yes)
SRC += $(QUANTUM_DIR)/light_ws2812.c
SRC += $(QUANTUM_DIR)/rgblight.c
OPT_DEFS += -DRGBLIGHT_ENABLE