]>
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 |
57677be5 | 9 | ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o |
bc25a80d | 10 | |
b2006d91 FB |
11 | # Glue/Bridge layers go here |
12 | ||
10a062ce | 13 | obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_usb2.o |
8e22978c | 14 | obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_msm.o |
7b92e1dd | 15 | obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_zevio.o |
b2006d91 FB |
16 | |
17 | # PCI doesn't provide stubs, need to check | |
bc25a80d | 18 | ifneq ($(CONFIG_PCI),) |
8e22978c | 19 | obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_pci.o |
bc25a80d AS |
20 | endif |
21 | ||
8973ba8b | 22 | ifneq ($(CONFIG_OF),) |
73de9344 | 23 | obj-$(CONFIG_USB_CHIPIDEA) += usbmisc_imx.o ci_hdrc_imx.o |
15302800 | 24 | endif |