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 13 14# PCI doesn't provide stubs, need to check 15ifneq ($(CONFIG_PCI),) 16 obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_pci.o 17endif 18 19ifneq ($(CONFIG_OF),) 20 obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_imx.o usbmisc_imx.o 21endif 22