1# SPDX-License-Identifier: GPL-2.0 2# define_trace.h needs to know how to find our header 3CFLAGS_cdns3-trace.o := -I$(src) 4CFLAGS_cdnsp-trace.o := -I$(src) 5 6cdns-usb-common-y := core.o drd.o 7cdns3-y := cdns3-plat.o 8 9obj-$(CONFIG_USB_CDNS3) += cdns3.o 10obj-$(CONFIG_USB_CDNS_SUPPORT) += cdns-usb-common.o 11 12cdns-usb-common-$(CONFIG_USB_CDNS_HOST) += host.o 13cdns3-$(CONFIG_USB_CDNS3_GADGET) += cdns3-gadget.o cdns3-ep0.o 14 15ifneq ($(CONFIG_USB_CDNS3_GADGET),) 16cdns3-$(CONFIG_TRACING) += cdns3-trace.o 17endif 18 19obj-$(CONFIG_USB_CDNS3_PCI_WRAP) += cdns3-pci-wrap.o 20obj-$(CONFIG_USB_CDNS3_TI) += cdns3-ti.o 21obj-$(CONFIG_USB_CDNS3_IMX) += cdns3-imx.o 22 23cdnsp-udc-pci-y := cdnsp-pci.o 24obj-$(CONFIG_USB_CDNSP_PCI) += cdnsp-udc-pci.o 25cdnsp-udc-pci-$(CONFIG_USB_CDNSP_GADGET) += cdnsp-ring.o cdnsp-gadget.o \ 26 cdnsp-mem.o cdnsp-ep0.o 27 28ifneq ($(CONFIG_USB_CDNSP_GADGET),) 29cdnsp-udc-pci-$(CONFIG_TRACING) += cdnsp-trace.o 30endif 31