blob: d92ca325b104f9ccd6b7a27cf2b7177b443190c4 [file] [log] [blame]
Richard Zhao388ed482012-09-12 14:58:10 +03001ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG
2
Alexander Shishkinbc25a802012-05-11 17:25:45 +03003obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
4
Alexander Shishkine443b332012-05-11 17:25:46 +03005ci_hdrc-y := core.o
6ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o
Alexander Shishkineb70e5a2012-05-11 17:25:54 +03007ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o
Alexander Shishkine443b332012-05-11 17:25:46 +03008ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o
Alexander Shishkinbc25a802012-05-11 17:25:45 +03009
Felipe Balbib2006d92012-06-29 17:48:50 +080010# Glue/Bridge layers go here
11
12obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_msm.o
13
14# PCI doesn't provide stubs, need to check
Alexander Shishkinbc25a802012-05-11 17:25:45 +030015ifneq ($(CONFIG_PCI),)
16 obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_pci.o
17endif
18
Richard Zhao15302802012-07-07 22:56:48 +080019ifneq ($(CONFIG_OF_DEVICE),)
Richard Zhaod142d6b2012-09-12 14:58:05 +030020 obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_imx.o usbmisc_imx6q.o
Richard Zhao15302802012-07-07 22:56:48 +080021endif