]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - protocol/pjrc.mk
Merge branch 'remote_wakeup'
[tmk_firmware.git] / protocol / pjrc.mk
index 1ceee0ad97ba26bfa345f18086e9efeb6871a168..27f908b1c205d966949ce3dfea94ad8d1b291f05 100644 (file)
@@ -1,12 +1,10 @@
 PJRC_DIR = protocol/pjrc
 
-OPT_DEFS += -DHOST_PJRC
-
-SRC += $(PJRC_DIR)/pjrc.c \
+SRC += $(PJRC_DIR)/main.c \
+       $(PJRC_DIR)/pjrc.c \
        $(PJRC_DIR)/usb_keyboard.c \
        $(PJRC_DIR)/usb_debug.c \
-       $(PJRC_DIR)/usb.c \
-       $(PJRC_DIR)/bootloader_teensy.c
+       $(PJRC_DIR)/usb.c
 
 # Option modules
 ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
@@ -19,3 +17,6 @@ endif
 
 # Search Path
 VPATH += $(TOP_DIR)/$(PJRC_DIR)
+
+# This indicates using LUFA stack
+OPT_DEFS += -DPROTOCOL_PJRC