Makefile (498495dba268b20e8eadd7fe93c140c68b6cc9d2) Makefile (ae07809255d3e3419205b673aba6d1dce16a0d65)
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
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
21ifneq ($(CONFIG_DEBUG_FS),)
22 mtu3-y += mtu3_debugfs.o
23endif