summaryrefslogtreecommitdiff
path: root/vusb.mk
diff options
context:
space:
mode:
Diffstat (limited to 'vusb.mk')
-rw-r--r--vusb.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/vusb.mk b/vusb.mk
new file mode 100644
index 0000000000..7fd5dc0549
--- /dev/null
+++ b/vusb.mk
@@ -0,0 +1,17 @@
+OPT_DEFS += -DHOST_VUSB
+
+SRC += vusb.c \
+ usbdrv.c \
+ usbdrvasm.S \
+ oddebug.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