2012-09-12 11:58:10 +00:00
|
|
|
ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG
|
|
|
|
|
2012-05-11 14:25:45 +00:00
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
|
|
|
|
|
2012-05-11 14:25:46 +00:00
|
|
|
ci_hdrc-y := core.o
|
|
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o
|
2012-05-11 14:25:54 +00:00
|
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o
|
2012-05-11 14:25:46 +00:00
|
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o
|
2012-05-11 14:25:45 +00:00
|
|
|
|
2012-06-29 09:48:50 +00:00
|
|
|
# Glue/Bridge layers go here
|
|
|
|
|
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_msm.o
|
|
|
|
|
|
|
|
# PCI doesn't provide stubs, need to check
|
2012-05-11 14:25:45 +00:00
|
|
|
ifneq ($(CONFIG_PCI),)
|
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_pci.o
|
|
|
|
endif
|
|
|
|
|
2012-07-07 14:56:48 +00:00
|
|
|
ifneq ($(CONFIG_OF_DEVICE),)
|
2012-09-12 11:58:05 +00:00
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci13xxx_imx.o usbmisc_imx6q.o
|
2012-07-07 14:56:48 +00:00
|
|
|
endif
|