2012-09-12 15:58:10 +04:00
|
|
|
ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG
|
|
|
|
|
2012-05-11 18:25:45 +04:00
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
|
|
|
|
|
2013-08-14 13:44:06 +04:00
|
|
|
ci_hdrc-y := core.o otg.o
|
2012-05-11 18:25:46 +04:00
|
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o
|
2012-05-11 18:25:54 +04:00
|
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o
|
2012-05-11 18:25:46 +04:00
|
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o
|
2014-04-23 11:56:44 +04:00
|
|
|
ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o
|
2012-05-11 18:25:45 +04:00
|
|
|
|
2012-06-29 13:48:50 +04:00
|
|
|
# Glue/Bridge layers go here
|
|
|
|
|
2013-06-24 15:46:36 +04:00
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_msm.o
|
2014-03-11 09:47:39 +04:00
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_zevio.o
|
2012-06-29 13:48:50 +04:00
|
|
|
|
|
|
|
# PCI doesn't provide stubs, need to check
|
2012-05-11 18:25:45 +04:00
|
|
|
ifneq ($(CONFIG_PCI),)
|
2013-06-24 15:46:36 +04:00
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_pci.o
|
2012-05-11 18:25:45 +04:00
|
|
|
endif
|
|
|
|
|
2013-04-20 02:32:15 +04:00
|
|
|
ifneq ($(CONFIG_OF),)
|
2013-12-06 12:35:13 +04:00
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += usbmisc_imx.o ci_hdrc_imx.o
|
2012-07-07 18:56:48 +04:00
|
|
|
endif
|