summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/lufa.mk
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-15 02:42:14 +0200
committerJack Humbert <jack.humb@gmail.com>2016-04-15 02:42:14 +0200
commit63462bf8c12cea1c13ca1bd1f105fe53f556806e (patch)
treeb1636f2fa845a6f27277c0524b360e1bdea9ff06 /tmk_core/protocol/lufa.mk
parentddbe4307789b6087c3e6f146a5e02f1084f3cecc (diff)
downloadqmk_firmware-63462bf8c12cea1c13ca1bd1f105fe53f556806e.tar.gz
qmk_firmware-63462bf8c12cea1c13ca1bd1f105fe53f556806e.tar.xz
changing up the makefile a bit
Diffstat (limited to 'tmk_core/protocol/lufa.mk')
-rw-r--r--tmk_core/protocol/lufa.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/protocol/lufa.mk b/tmk_core/protocol/lufa.mk
index 4905760bb..f3209c227 100644
--- a/tmk_core/protocol/lufa.mk
+++ b/tmk_core/protocol/lufa.mk
@@ -17,7 +17,7 @@ LUFA_SRC = $(LUFA_DIR)/lufa.c \
$(LUFA_DIR)/descriptor.c \
$(LUFA_SRC_USB)
-ifdef MIDI_ENABLE
+ifeq ($(MIDI_ENABLE), yes)
LUFA_SRC += $(LUFA_DIR)/midi/midi.c \
$(LUFA_DIR)/midi/midi_device.c \
$(LUFA_DIR)/midi/bytequeue/bytequeue.c \
@@ -25,7 +25,7 @@ ifdef MIDI_ENABLE
$(LUFA_SRC_USBCLASS)
endif
-ifdef BLUETOOTH_ENABLE
+ifeq ($(BLUETOOTH_ENABLE), yes)
LUFA_SRC += $(LUFA_DIR)/bluetooth.c \
$(TMK_DIR)/protocol/serial_uart.c
endif