GNU Linux-libre 4.14.251-gnu1
[releases.git] / drivers / usb / mtu3 / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2
3 ccflags-$(CONFIG_USB_MTU3_DEBUG)        += -DDEBUG
4
5 obj-$(CONFIG_USB_MTU3)  += mtu3.o
6
7 mtu3-y  := mtu3_plat.o
8
9 ifneq ($(filter y,$(CONFIG_USB_MTU3_HOST) $(CONFIG_USB_MTU3_DUAL_ROLE)),)
10         mtu3-y  += mtu3_host.o
11 endif
12
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
16
17 ifneq ($(CONFIG_USB_MTU3_DUAL_ROLE),)
18         mtu3-y  += mtu3_dr.o
19 endif