summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/dwc3/Makefile')
-rw-r--r--drivers/usb/dwc3/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/Makefile b/drivers/usb/dwc3/Makefile
new file mode 100644
index 0000000000..d43b23eb2d
--- /dev/null
+++ b/drivers/usb/dwc3/Makefile
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0
+
+obj-$(CONFIG_USB_DWC3) += dwc3.o
+
+dwc3-y := core.o
+
+ifneq ($(filter y,$(CONFIG_USB_DWC3_HOST)),)
+ dwc3-y += host.o
+endif
+