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