9d8c850d02
Since we need to mount debugfs to show/store the things we want to debug, it is duplicated to add another configuration to enable it. Meanwhile, with CONFIG_USB_CHIPIDEA_DEBUG, we can't support chipidea debugfs at runtime. Signed-off-by: Peter Chen <peter.chen@freescale.com> Cc: Jun Li <jun.li@freescale.com>
19 lines
539 B
Makefile
19 lines
539 B
Makefile
ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG
|
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
|
|
|
|
ci_hdrc-y := core.o otg.o debug.o
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o
|
|
ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o
|
|
|
|
# Glue/Bridge layers go here
|
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_usb2.o
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_msm.o
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_zevio.o
|
|
|
|
obj-$(CONFIG_USB_CHIPIDEA_PCI) += ci_hdrc_pci.o
|
|
|
|
obj-$(CONFIG_USB_CHIPIDEA_OF) += usbmisc_imx.o ci_hdrc_imx.o
|