17733f6c3SPawel Laszczak# SPDX-License-Identifier: GPL-2.0 27733f6c3SPawel Laszczak# define_trace.h needs to know how to find our header 37733f6c3SPawel LaszczakCFLAGS_trace.o := -I$(src) 47733f6c3SPawel Laszczak 57733f6c3SPawel Laszczakcdns3-y := core.o drd.o 67733f6c3SPawel Laszczak 77733f6c3SPawel Laszczakobj-$(CONFIG_USB_CDNS3) += cdns3.o 87733f6c3SPawel Laszczakcdns3-$(CONFIG_USB_CDNS3_GADGET) += gadget.o ep0.o 97733f6c3SPawel Laszczak 107733f6c3SPawel Laszczakifneq ($(CONFIG_USB_CDNS3_GADGET),) 117733f6c3SPawel Laszczakcdns3-$(CONFIG_TRACING) += trace.o 127733f6c3SPawel Laszczakendif 137733f6c3SPawel Laszczak 147733f6c3SPawel Laszczakcdns3-$(CONFIG_USB_CDNS3_HOST) += host.o 157733f6c3SPawel Laszczak 167733f6c3SPawel Laszczakobj-$(CONFIG_USB_CDNS3_PCI_WRAP) += cdns3-pci-wrap.o 17387c359bSRoger Quadrosobj-$(CONFIG_USB_CDNS3_TI) += cdns3-ti.o 181e056efaSPeter Chenobj-$(CONFIG_USB_CDNS3_IMX) += cdns3-imx.o 19