summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmk_core/protocol.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/protocol.mk b/tmk_core/protocol.mk
index 31a6de76f1..6640af8351 100644
--- a/tmk_core/protocol.mk
+++ b/tmk_core/protocol.mk
@@ -32,6 +32,11 @@ ifeq ($(strip $(RAW_ENABLE)), yes)
TMK_COMMON_DEFS += -DRAW_ENABLE
endif
+ifeq ($(strip $(WEBUSB_ENABLE)), yes)
+ TMK_COMMON_SRC += $(PLATFORM_PATH)/webusb.c
+ TMK_COMMON_DEFS += -DWEBUSB_ENABLE
+endif
+
ifeq ($(strip $(CONSOLE_ENABLE)), yes)
TMK_COMMON_DEFS += -DCONSOLE_ENABLE
else