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 9ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o 10 11# Glue/Bridge layers go here 12 13obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_msm.o 14obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_zevio.o 15 16# PCI doesn't provide stubs, need to check 17ifneq ($(CONFIG_PCI),) 18 obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_pci.o 19endif 20 21ifneq ($(CONFIG_OF),) 22 obj-$(CONFIG_USB_CHIPIDEA) += usbmisc_imx.o ci_hdrc_imx.o 23endif 24