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 5394c3a14SPawel Laszczakcdns-usb-common-y := core.o drd.o 6394c3a14SPawel Laszczakcdns3-y := cdns3-plat.o 77733f6c3SPawel Laszczak 87733f6c3SPawel Laszczakobj-$(CONFIG_USB_CDNS3) += cdns3.o 9*3d829045SPawel Laszczakobj-$(CONFIG_USB_CDNS_SUPPORT) += cdns-usb-common.o 10394c3a14SPawel Laszczak 11*3d829045SPawel Laszczakcdns-usb-common-$(CONFIG_USB_CDNS_HOST) += host.o 127733f6c3SPawel Laszczakcdns3-$(CONFIG_USB_CDNS3_GADGET) += gadget.o ep0.o 137733f6c3SPawel Laszczak 147733f6c3SPawel Laszczakifneq ($(CONFIG_USB_CDNS3_GADGET),) 157733f6c3SPawel Laszczakcdns3-$(CONFIG_TRACING) += trace.o 167733f6c3SPawel Laszczakendif 177733f6c3SPawel Laszczak 187733f6c3SPawel Laszczakobj-$(CONFIG_USB_CDNS3_PCI_WRAP) += cdns3-pci-wrap.o 19387c359bSRoger Quadrosobj-$(CONFIG_USB_CDNS3_TI) += cdns3-ti.o 201e056efaSPeter Chenobj-$(CONFIG_USB_CDNS3_IMX) += cdns3-imx.o 21*3d829045SPawel Laszczak 22*3d829045SPawel Laszczakcdnsp-udc-pci-y := cdnsp-pci.o 23*3d829045SPawel Laszczakobj-$(CONFIG_USB_CDNSP_PCI) += cdnsp-udc-pci.o 24*3d829045SPawel Laszczakcdnsp-udc-pci-$(CONFIG_USB_CDNSP_GADGET) += cdnsp-ring.o cdnsp-gadget.o \ 25*3d829045SPawel Laszczak cdnsp-mem.o cdnsp-ep0.o 26