Makefile 540 字节
Newer Older
1 2
ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG

3 4
obj-$(CONFIG_USB_CHIPIDEA)		+= ci_hdrc.o

5 6
ci_hdrc-y				:= core.o
ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC)	+= udc.o
7
ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST)	+= host.o
8
ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG)	+= debug.o
9

10 11
# Glue/Bridge layers go here

12
obj-$(CONFIG_USB_CHIPIDEA)	+= ci_hdrc_msm.o
13 14

# PCI doesn't provide stubs, need to check
15
ifneq ($(CONFIG_PCI),)
16
	obj-$(CONFIG_USB_CHIPIDEA)	+= ci_hdrc_pci.o
17 18
endif

19
ifneq ($(CONFIG_OF_DEVICE),)
20
	obj-$(CONFIG_USB_CHIPIDEA)	+= ci_hdrc_imx.o usbmisc_imx.o
21
endif