summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/usb/renesas_usbhs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/usb/renesas_usbhs/Makefile')
-rw-r--r--kernel/drivers/usb/renesas_usbhs/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/drivers/usb/renesas_usbhs/Makefile b/kernel/drivers/usb/renesas_usbhs/Makefile
new file mode 100644
index 000000000..9e47f477b
--- /dev/null
+++ b/kernel/drivers/usb/renesas_usbhs/Makefile
@@ -0,0 +1,15 @@
+#
+# for Renesas USB
+#
+
+obj-$(CONFIG_USB_RENESAS_USBHS) += renesas_usbhs.o
+
+renesas_usbhs-y := common.o mod.o pipe.o fifo.o rcar2.o
+
+ifneq ($(CONFIG_USB_RENESAS_USBHS_HCD),)
+ renesas_usbhs-y += mod_host.o
+endif
+
+ifneq ($(CONFIG_USB_RENESAS_USBHS_UDC),)
+ renesas_usbhs-y += mod_gadget.o
+endif