# SPDX-License-Identifier: GPL-2.0 # define_trace.h needs to know how to find our header CFLAGS_trace.o := -I$(src) obj-$([31mCONFIG_USB_DWC3[0m) += dwc3.o dwc3-y := core.o ifneq ($([31mCONFIG_TRACING[0m),) dwc3-y += trace.o endif ifneq ($(filter y,$([31mCONFIG_USB_DWC3_HOST[0m) $([31mCONFIG_USB_DWC3_DUAL_ROLE[0m)),) dwc3-y += host.o endif ifneq ($(filter y,$([31mCONFIG_USB_DWC3_GADGET[0m) $([31mCONFIG_USB_DWC3_DUAL_ROLE[0m)),) dwc3-y += gadget.o ep0.o endif ifneq ($([31mCONFIG_USB_DWC3_DUAL_ROLE[0m),) dwc3-y += drd.o endif ifneq ($([31mCONFIG_USB_DWC3_ULPI[0m),) dwc3-y += ulpi.o endif ifneq ($([31mCONFIG_DEBUG_FS[0m),) dwc3-y += debugfs.o endif ## # Platform-specific glue layers go here # # NOTICE: Make sure your glue layer doesn't depend on anything # which is arch-specific and that it compiles on all situations. # # We want to keep this requirement in order to be able to compile # the entire driver (with all its glue layers) on several architectures # and make sure it compiles fine. This will also help with allmodconfig # and allyesconfig builds. ## obj-$([31mCONFIG_USB_DWC3_OMAP[0m) += dwc3-omap.o obj-$([31mCONFIG_USB_DWC3_EXYNOS[0m) += dwc3-exynos.o obj-$([31mCONFIG_USB_DWC3_PCI[0m) += dwc3-pci.o obj-$([31mCONFIG_USB_DWC3_HAPS[0m) += dwc3-haps.o obj-$([31mCONFIG_USB_DWC3_KEYSTONE[0m) += dwc3-keystone.o obj-$([31mCONFIG_USB_DWC3_MESON_G12A[0m) += dwc3-meson-g12a.o obj-$([31mCONFIG_USB_DWC3_OF_SIMPLE[0m) += dwc3-of-simple.o obj-$([31mCONFIG_USB_DWC3_ST[0m) += dwc3-st.o obj-$([31mCONFIG_USB_DWC3_QCOM[0m) += dwc3-qcom.o |