xref: /OK3568_Linux_fs/kernel/drivers/usb/cdns3/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# SPDX-License-Identifier: GPL-2.0
2# define_trace.h needs to know how to find our header
3CFLAGS_trace.o				:= -I$(src)
4
5cdns3-y					:= core.o drd.o
6
7obj-$(CONFIG_USB_CDNS3)			+= cdns3.o
8cdns3-$(CONFIG_USB_CDNS3_GADGET)	+= gadget.o ep0.o
9
10ifneq ($(CONFIG_USB_CDNS3_GADGET),)
11cdns3-$(CONFIG_TRACING)			+= trace.o
12endif
13
14cdns3-$(CONFIG_USB_CDNS3_HOST)		+= host.o
15
16obj-$(CONFIG_USB_CDNS3_PCI_WRAP)	+= cdns3-pci-wrap.o
17obj-$(CONFIG_USB_CDNS3_TI)		+= cdns3-ti.o
18obj-$(CONFIG_USB_CDNS3_IMX)		+= cdns3-imx.o
19