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 | |
Alexander Shishkin | 8e22978 | 2013-06-24 14:46:36 +0300 | [diff] [blame^] | 12 | obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_msm.o |
Felipe Balbi | b2006d9 | 2012-06-29 17:48:50 +0800 | [diff] [blame] | 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),) |
Alexander Shishkin | 8e22978 | 2013-06-24 14:46:36 +0300 | [diff] [blame^] | 16 | obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_pci.o |
Alexander Shishkin | bc25a80 | 2012-05-11 17:25:45 +0300 | [diff] [blame] | 17 | endif |
| 18 | |
Richard Zhao | 1530280 | 2012-07-07 22:56:48 +0800 | [diff] [blame] | 19 | ifneq ($(CONFIG_OF_DEVICE),) |
Alexander Shishkin | 8e22978 | 2013-06-24 14:46:36 +0300 | [diff] [blame^] | 20 | obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_imx.o usbmisc_imx.o |
Richard Zhao | 1530280 | 2012-07-07 22:56:48 +0800 | [diff] [blame] | 21 | endif |