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