]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - protocol/iwrap.mk
Fix LUFA host driver for unconfigured state
[tmk_firmware.git] / protocol / iwrap.mk
index ea4a6e9720eee1df0d9e814561b7eca0a387b4d3..96aa4140cad04229330ecc1eab9569db5ac7cb1f 100644 (file)
@@ -1,10 +1,12 @@
-OPT_DEFS += -DHOST_IWRAP
+IWRAP_DIR = protocol/iwrap
 
-SRC += iwrap.c \
-       suart.S \
-       sendchar_uart.c \
-       uart.c
+OPT_DEFS += -DPROTOCOL_IWRAP
+
+SRC += $(IWRAP_DIR)/iwrap.c \
+       $(IWRAP_DIR)/suart.S \
+       $(IWRAP_DIR)/sendchar_uart.c \
+       $(IWRAP_DIR)/uart.c
 
 
 # Search Path
-VPATH += $(COMMON_DIR)/iwrap
+VPATH += $(TOP_DIR)/protocol/iwrap