]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - protocol/iwrap.mk
Add new build options to adb_usb
[tmk_firmware.git] / protocol / iwrap.mk
index d9906fd1b4724b270c8462a832fd35a32ed8f051..96aa4140cad04229330ecc1eab9569db5ac7cb1f 100644 (file)
@@ -1,9 +1,11 @@
-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