1# SPDX-License-Identifier: GPL-2.0 2 3ccflags-$(CONFIG_USB_MTU3_DEBUG) += -DDEBUG 4 5obj-$(CONFIG_USB_MTU3) += mtu3.o 6 7mtu3-y := mtu3_plat.o 8 9ifneq ($(filter y,$(CONFIG_USB_MTU3_HOST) $(CONFIG_USB_MTU3_DUAL_ROLE)),) 10 mtu3-y += mtu3_host.o 11endif 12 13ifneq ($(filter y,$(CONFIG_USB_MTU3_GADGET) $(CONFIG_USB_MTU3_DUAL_ROLE)),) 14 mtu3-y += mtu3_core.o mtu3_gadget_ep0.o mtu3_gadget.o mtu3_qmu.o 15endif 16 17ifneq ($(CONFIG_USB_MTU3_DUAL_ROLE),) 18 mtu3-y += mtu3_dr.o 19endif 20