]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - protocol/pjrc.mk
Remove MCU dependent code from common/keyboard.c
[tmk_firmware.git] / protocol / pjrc.mk
index f5693ba99db7f6d33ee9fe9d44d6004c818b689d..5a446138203d48ce439a80f1435d3d017f9b88b1 100644 (file)
@@ -7,7 +7,11 @@ SRC += $(PJRC_DIR)/main.c \
        $(PJRC_DIR)/usb.c
 
 # Option modules
-ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
+ifdef MOUSEKEY_ENABLE
+    SRC += $(PJRC_DIR)/usb_mouse.c
+endif
+
+ifdef PS2_MOUSE_ENABLE
     SRC += $(PJRC_DIR)/usb_mouse.c
 endif
 
@@ -19,7 +23,4 @@ endif
 VPATH += $(TOP_DIR)/$(PJRC_DIR)
 
 # This indicates using LUFA stack
-# TODO: remove HOST_PJRC
-OPT_DEFS += -DHOST_PJRC
 OPT_DEFS += -DPROTOCOL_PJRC
-