aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/lufa.mk
diff options
context:
space:
mode:
authorStephan Bösebeck <[email protected]>2016-04-16 22:56:33 +0200
committerStephan Bösebeck <[email protected]>2016-04-16 22:56:33 +0200
commit38a1d830faa138f6a7e094b3eda33dc528112ec7 (patch)
treeea7745744f1759741b09577f25faf616fb39dfa7 /tmk_core/protocol/lufa.mk
parent990254edecab782d6f2e71ebfc0b0dda4dc0781e (diff)
parent5f648b6c4060d586c343ea05562c607e2630dfc4 (diff)
downloadqmk_firmware-38a1d830faa138f6a7e094b3eda33dc528112ec7.tar.gz
qmk_firmware-38a1d830faa138f6a7e094b3eda33dc528112ec7.zip
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
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 4905760bb4..9ac6298f11 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 ($(strip $(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 ($(strip $(BLUETOOTH_ENABLE)), yes)
LUFA_SRC += $(LUFA_DIR)/bluetooth.c \
$(TMK_DIR)/protocol/serial_uart.c
endif