blob: 4113febdb4329d3ed803ab5194dfef63b8e93aba [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
Rob Herring8973ba82013-04-19 17:32:15 -050019ifneq ($(CONFIG_OF),)
Michael Grzeschika7bc2fd2013-03-30 12:53:56 +020020 obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_imx.o usbmisc_imx.o
Richard Zhao15302802012-07-07 22:56:48 +080021endif