19 lines
500 B
Makefile
Raw Normal View History

2021-05-27 00:09:36 +05:00
# SPDX-License-Identifier: GPL-2.0
# define_trace.h needs to know how to find our header
2021-09-23 21:59:15 +05:00
CFLAGS_trace.o := -I$(src)
2021-05-27 00:09:36 +05:00
2021-09-23 21:59:15 +05:00
cdns3-y := core.o drd.o
2021-05-27 00:09:36 +05:00
2021-09-23 21:59:15 +05:00
obj-$(CONFIG_USB_CDNS3) += cdns3.o
cdns3-$(CONFIG_USB_CDNS3_GADGET) += gadget.o ep0.o
2021-05-27 00:09:36 +05:00
ifneq ($(CONFIG_USB_CDNS3_GADGET),)
2021-09-23 21:59:15 +05:00
cdns3-$(CONFIG_TRACING) += trace.o
2021-05-27 00:09:36 +05:00
endif
2021-09-23 21:59:15 +05:00
cdns3-$(CONFIG_USB_CDNS3_HOST) += host.o
2021-05-27 00:09:36 +05:00
2021-09-23 21:59:15 +05:00
obj-$(CONFIG_USB_CDNS3_PCI_WRAP) += cdns3-pci-wrap.o
obj-$(CONFIG_USB_CDNS3_TI) += cdns3-ti.o
obj-$(CONFIG_USB_CDNS3_IMX) += cdns3-imx.o