blob: 3bbbcba03815de28a5cb78e03aabba1044d9932d [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
Alexander Shishkin8e229782013-06-24 14:46:36 +030012obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_msm.o
Felipe Balbib2006d92012-06-29 17:48:50 +080013
14# PCI doesn't provide stubs, need to check
Alexander Shishkinbc25a802012-05-11 17:25:45 +030015ifneq ($(CONFIG_PCI),)
Alexander Shishkin8e229782013-06-24 14:46:36 +030016 obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_pci.o
Alexander Shishkinbc25a802012-05-11 17:25:45 +030017endif
18
Richard Zhao15302802012-07-07 22:56:48 +080019ifneq ($(CONFIG_OF_DEVICE),)
Alexander Shishkin8e229782013-06-24 14:46:36 +030020 obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_imx.o usbmisc_imx.o
Richard Zhao15302802012-07-07 22:56:48 +080021endif