aboutsummaryrefslogtreecommitdiffstats
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.mk21
1 files changed, 12 insertions, 9 deletions
diff --git a/tmk_core/protocol/lufa.mk b/tmk_core/protocol/lufa.mk
index d87802992..9bc972c26 100644
--- a/tmk_core/protocol/lufa.mk
+++ b/tmk_core/protocol/lufa.mk
@@ -15,9 +15,8 @@ else
endif
LUFA_SRC = lufa.c \
- usb_descriptor.c \
- outputselect.c \
- $(LUFA_SRC_USB)
+ usb_descriptor.c \
+ $(LUFA_SRC_USB)
ifeq ($(strip $(MIDI_ENABLE)), yes)
include $(TMK_PATH)/protocol/midi.mk
@@ -25,23 +24,27 @@ endif
ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
LUFA_SRC += $(LUFA_DIR)/bluetooth.c \
- $(TMK_DIR)/protocol/serial_uart.c
+ outputselect.c \
+ $(TMK_DIR)/protocol/serial_uart.c
endif
ifeq ($(strip $(BLUETOOTH)), AdafruitBLE)
- LUFA_SRC += spi_master.c
- LUFA_SRC += analog.c
- LUFA_SRC += $(LUFA_DIR)/adafruit_ble.cpp
+ LUFA_SRC += spi_master.c \
+ analog.c \
+ outputselect.c \
+ $(LUFA_DIR)/adafruit_ble.cpp
endif
ifeq ($(strip $(BLUETOOTH)), AdafruitEZKey)
LUFA_SRC += $(LUFA_DIR)/bluetooth.c \
- $(TMK_DIR)/protocol/serial_uart.c
+ outputselect.c \
+ $(TMK_DIR)/protocol/serial_uart.c
endif
ifeq ($(strip $(BLUETOOTH)), RN42)
LUFA_SRC += $(LUFA_DIR)/bluetooth.c \
- $(TMK_DIR)/protocol/serial_uart.c
+ outputselect.c \
+ $(TMK_DIR)/protocol/serial_uart.c
endif
ifeq ($(strip $(VIRTSER_ENABLE)), yes)