Linux 4.19.133
[linux/fpc-iii.git] / drivers / usb / mtu3 / Makefile
blob4a9715812bf9e9100461fad87b4e0754160425aa
1 # SPDX-License-Identifier: GPL-2.0
3 ccflags-$(CONFIG_USB_MTU3_DEBUG) += -DDEBUG
5 obj-$(CONFIG_USB_MTU3) += mtu3.o
7 mtu3-y := mtu3_plat.o
9 ifneq ($(filter y,$(CONFIG_USB_MTU3_HOST) $(CONFIG_USB_MTU3_DUAL_ROLE)),)
10 mtu3-y += mtu3_host.o
11 endif
13 ifneq ($(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
15 endif
17 ifneq ($(CONFIG_USB_MTU3_DUAL_ROLE),)
18 mtu3-y += mtu3_dr.o
19 endif