summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/usb/chipidea/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/usb/chipidea/Makefile')
-rw-r--r--kernel/drivers/usb/chipidea/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/kernel/drivers/usb/chipidea/Makefile b/kernel/drivers/usb/chipidea/Makefile
new file mode 100644
index 000000000..4decb12f2
--- /dev/null
+++ b/kernel/drivers/usb/chipidea/Makefile
@@ -0,0 +1,19 @@
+ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG
+
+obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
+
+ci_hdrc-y := core.o otg.o
+ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o
+ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o
+ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o
+ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o
+
+# Glue/Bridge layers go here
+
+obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_usb2.o
+obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_msm.o
+obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_zevio.o
+
+obj-$(CONFIG_USB_CHIPIDEA_PCI) += ci_hdrc_pci.o
+
+obj-$(CONFIG_USB_CHIPIDEA_OF) += usbmisc_imx.o ci_hdrc_imx.o