Richard Zhao | 388ed48 | 2012-09-12 14:58:10 +0300 | [diff] [blame] | 1 | ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG |
| 2 | |
Alexander Shishkin | bc25a80 | 2012-05-11 17:25:45 +0300 | [diff] [blame] | 3 | obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o |
| 4 | |
Alexander Shishkin | e443b33 | 2012-05-11 17:25:46 +0300 | [diff] [blame] | 5 | ci_hdrc-y := core.o |
| 6 | ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o |
Alexander Shishkin | eb70e5a | 2012-05-11 17:25:54 +0300 | [diff] [blame] | 7 | ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o |
Alexander Shishkin | e443b33 | 2012-05-11 17:25:46 +0300 | [diff] [blame] | 8 | ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o |
Alexander Shishkin | bc25a80 | 2012-05-11 17:25:45 +0300 | [diff] [blame] | 9 | |
Felipe Balbi | b2006d9 | 2012-06-29 17:48:50 +0800 | [diff] [blame] | 10 | # Glue/Bridge layers go here |
| 11 | |
| 12 | obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_msm.o |
| 13 | |
| 14 | # PCI doesn't provide stubs, need to check |
Alexander Shishkin | bc25a80 | 2012-05-11 17:25:45 +0300 | [diff] [blame] | 15 | ifneq ($(CONFIG_PCI),) |
| 16 | obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_pci.o |
| 17 | endif |
| 18 | |
Rob Herring | 8973ba8 | 2013-04-19 17:32:15 -0500 | [diff] [blame^] | 19 | ifneq ($(CONFIG_OF),) |
Michael Grzeschik | a7bc2fd | 2013-03-30 12:53:56 +0200 | [diff] [blame] | 20 | obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_imx.o usbmisc_imx.o |
Richard Zhao | 1530280 | 2012-07-07 22:56:48 +0800 | [diff] [blame] | 21 | endif |