]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - drivers/usb/mtu3/Makefile
Merge tag 'i3c/for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux
[mirror_ubuntu-focal-kernel.git] / drivers / usb / mtu3 / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
d0ed062a
CY
2
3ccflags-$(CONFIG_USB_MTU3_DEBUG) += -DDEBUG
4
83374e03
CY
5# define_trace.h needs to know how to find our header
6CFLAGS_mtu3_trace.o := -I$(src)
7
df2069ac 8obj-$(CONFIG_USB_MTU3) += mtu3.o
b3f4e727
CY
9
10mtu3-y := mtu3_plat.o
11
83374e03
CY
12ifneq ($(CONFIG_TRACING),)
13 mtu3-y += mtu3_trace.o
14endif
15
d0ed062a 16ifneq ($(filter y,$(CONFIG_USB_MTU3_HOST) $(CONFIG_USB_MTU3_DUAL_ROLE)),)
b3f4e727
CY
17 mtu3-y += mtu3_host.o
18endif
19
d0ed062a 20ifneq ($(filter y,$(CONFIG_USB_MTU3_GADGET) $(CONFIG_USB_MTU3_DUAL_ROLE)),)
b3f4e727
CY
21 mtu3-y += mtu3_core.o mtu3_gadget_ep0.o mtu3_gadget.o mtu3_qmu.o
22endif
d0ed062a
CY
23
24ifneq ($(CONFIG_USB_MTU3_DUAL_ROLE),)
25 mtu3-y += mtu3_dr.o
26endif
ae078092
CY
27
28ifneq ($(CONFIG_DEBUG_FS),)
29 mtu3-y += mtu3_debugfs.o
30endif