summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/lufa.mk
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-08-24 10:37:02 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-08-24 10:37:02 +0300
commit2e3834edea1bc2f83477dff1a423adc87c357471 (patch)
treea7461bb432b36db1c4348df670d9bcff6b9415d3 /tmk_core/protocol/lufa.mk
parent7c9fff59d0bfd36016a5cd79d40ec27ae591610b (diff)
parenta9205484718ab2a74bc97884a2ea7b95882ed66d (diff)
Merge remote-tracking branch 'upstream/master' into makefile_overhaul
Diffstat (limited to 'tmk_core/protocol/lufa.mk')
-rw-r--r--tmk_core/protocol/lufa.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/protocol/lufa.mk b/tmk_core/protocol/lufa.mk
index 0eeace44ec..5b1e3d19d0 100644
--- a/tmk_core/protocol/lufa.mk
+++ b/tmk_core/protocol/lufa.mk
@@ -26,6 +26,10 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes)
$(TMK_DIR)/protocol/serial_uart.c
endif
+ifeq ($(strip $(VIRTSER_ENABLE)), yes)
+ LUFA_SRC += $(LUFA_ROOT_PATH)/Drivers/USB/Class/Device/CDCClassDevice.c
+endif
+
SRC += $(LUFA_SRC)
# Search Path