summaryrefslogtreecommitdiffstats
path: root/protocol/vusb.mk
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/vusb.mk')
-rw-r--r--protocol/vusb.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/protocol/vusb.mk b/protocol/vusb.mk
new file mode 100644
index 000000000..9426efb25
--- /dev/null
+++ b/protocol/vusb.mk
@@ -0,0 +1,19 @@
+OPT_DEFS += -DHOST_VUSB
+
+SRC += vusb.c \
+ usbdrv.c \
+ usbdrvasm.S \
+ oddebug.c \
+ bootloader_usbasp.c \
+
+
+ifdef NO_UART
+SRC += sendchar_null.c
+else
+SRC += sendchar_uart.c \
+ uart.c
+endif
+
+
+# Search Path
+VPATH += $(COMMON_DIR)/vusb:$(COMMON_DIR)/vusb/usbdrv