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 6obj-$(CONFIG_USB_CDNS3) += cdns.o 7 8cdns-y := core.o drd.o cdns3-plat.o 9cdns-$(CONFIG_USB_CDNS3_HOST) += host.o 10 11ifneq ($(CONFIG_USB_CDNS3_GADGET),) 12cdns-y += cdns3-gadget.o cdns3-ep0.o \ 13 cdnsp-ring.o cdnsp-gadget.o \ 14 cdnsp-mem.o cdnsp-ep0.o 15endif 16 17ifneq ($(CONFIG_TRACING),) 18ifneq ($(CONFIG_USB_CDNS3_GADGET),) 19cdns-y += cdns3-trace.o cdnsp-trace.o 20endif 21endif 22 23## 24# Platform-specific glue layers (PCI wrappers, SoC integration) 25## 26obj-$(CONFIG_USB_CDNS3_PCI_WRAP) += cdns3-pci-wrap.o 27obj-$(CONFIG_USB_CDNSP_PCI) += cdnsp-pci.o 28obj-$(CONFIG_USB_CDNS3_TI) += cdns3-ti.o 29obj-$(CONFIG_USB_CDNS3_IMX) += cdns3-imx.o 30obj-$(CONFIG_USB_CDNS3_STARFIVE) += cdns3-starfive.o 31