Commit | Line | Data |
---|---|---|
388ed487 RZ |
1 | ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG |
2 | ||
bc25a80d AS |
3 | obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o |
4 | ||
c10b4f03 | 5 | ci_hdrc-y := core.o otg.o |
e443b333 | 6 | ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o |
eb70e5ab | 7 | ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o |
e443b333 | 8 | ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o |
bc25a80d | 9 | |
b2006d91 FB |
10 | # Glue/Bridge layers go here |
11 | ||
8e22978c | 12 | obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_msm.o |
b2006d91 FB |
13 | |
14 | # PCI doesn't provide stubs, need to check | |
bc25a80d | 15 | ifneq ($(CONFIG_PCI),) |
8e22978c | 16 | obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_pci.o |
bc25a80d AS |
17 | endif |
18 | ||
8973ba8b | 19 | ifneq ($(CONFIG_OF),) |
8e22978c | 20 | obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_imx.o usbmisc_imx.o |
15302800 | 21 | endif |