summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/lufa.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol/lufa.mk')
-rw-r--r--tmk_core/protocol/lufa.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/tmk_core/protocol/lufa.mk b/tmk_core/protocol/lufa.mk
index 87386be998..4905760bb4 100644
--- a/tmk_core/protocol/lufa.mk
+++ b/tmk_core/protocol/lufa.mk
@@ -17,6 +17,19 @@ LUFA_SRC = $(LUFA_DIR)/lufa.c \
$(LUFA_DIR)/descriptor.c \
$(LUFA_SRC_USB)
+ifdef MIDI_ENABLE
+ LUFA_SRC += $(LUFA_DIR)/midi/midi.c \
+ $(LUFA_DIR)/midi/midi_device.c \
+ $(LUFA_DIR)/midi/bytequeue/bytequeue.c \
+ $(LUFA_DIR)/midi/bytequeue/interrupt_setting.c \
+ $(LUFA_SRC_USBCLASS)
+endif
+
+ifdef BLUETOOTH_ENABLE
+ LUFA_SRC += $(LUFA_DIR)/bluetooth.c \
+ $(TMK_DIR)/protocol/serial_uart.c
+endif
+
SRC += $(LUFA_SRC)
# Search Path