summaryrefslogtreecommitdiff
path: root/protocol/pjrc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/pjrc.mk')
-rw-r--r--protocol/pjrc.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/protocol/pjrc.mk b/protocol/pjrc.mk
index cccdf62042..f5693ba99d 100644
--- a/protocol/pjrc.mk
+++ b/protocol/pjrc.mk
@@ -1,7 +1,5 @@
PJRC_DIR = protocol/pjrc
-OPT_DEFS += -DHOST_PJRC
-
SRC += $(PJRC_DIR)/main.c \
$(PJRC_DIR)/pjrc.c \
$(PJRC_DIR)/usb_keyboard.c \
@@ -19,3 +17,9 @@ endif
# Search Path
VPATH += $(TOP_DIR)/$(PJRC_DIR)
+
+# This indicates using LUFA stack
+# TODO: remove HOST_PJRC
+OPT_DEFS += -DHOST_PJRC
+OPT_DEFS += -DPROTOCOL_PJRC
+