# SPDX-License-Identifier: GPL-2.0 ccflags-$([31mCONFIG_USB_MTU3_DEBUG[0m) += -DDEBUG # define_trace.h needs to know how to find our header CFLAGS_mtu3_trace.o := -I$(src) obj-$([31mCONFIG_USB_MTU3[0m) += mtu3.o mtu3-y := mtu3_plat.o ifneq ($([31mCONFIG_TRACING[0m),) mtu3-y += mtu3_trace.o endif ifneq ($(filter y,$([31mCONFIG_USB_MTU3_HOST[0m) $([31mCONFIG_USB_MTU3_DUAL_ROLE[0m)),) mtu3-y += mtu3_host.o endif ifneq ($(filter y,$([31mCONFIG_USB_MTU3_GADGET[0m) $([31mCONFIG_USB_MTU3_DUAL_ROLE[0m)),) mtu3-y += mtu3_core.o mtu3_gadget_ep0.o mtu3_gadget.o mtu3_qmu.o endif ifneq ($([31mCONFIG_USB_MTU3_DUAL_ROLE[0m),) mtu3-y += mtu3_dr.o endif ifneq ($([31mCONFIG_DEBUG_FS[0m),) mtu3-y += mtu3_debugfs.o endif |