1ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG 2 3obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o 4 5ci_hdrc-y := core.o otg.o 6ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o 7ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o 8ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o 9 10# Glue/Bridge layers go here 11 12obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_msm.o 13obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_zevio.o 14 15# PCI doesn't provide stubs, need to check 16ifneq ($(CONFIG_PCI),) 17 obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_pci.o 18endif 19 20ifneq ($(CONFIG_OF),) 21 obj-$(CONFIG_USB_CHIPIDEA) += usbmisc_imx.o ci_hdrc_imx.o 22endif 23