Makefile 456 B

1234567891011121314151617
  1. # SPDX-License-Identifier: GPL-2.0
  2. # define_trace.h needs to know how to find our header
  3. CFLAGS_trace.o := -I$(src)
  4. cdns3-y := core.o drd.o
  5. obj-$(CONFIG_USB_CDNS3) += cdns3.o
  6. cdns3-$(CONFIG_USB_CDNS3_GADGET) += gadget.o ep0.o
  7. ifneq ($(CONFIG_USB_CDNS3_GADGET),)
  8. cdns3-$(CONFIG_TRACING) += trace.o
  9. endif
  10. cdns3-$(CONFIG_USB_CDNS3_HOST) += host.o
  11. obj-$(CONFIG_USB_CDNS3_PCI_WRAP) += cdns3-pci-wrap.o
  12. obj-$(CONFIG_USB_CDNS3_TI) += cdns3-ti.o