Makefile 456 B

1234567891011121314151617181920
  1. # SPDX-License-Identifier: GPL-2.0
  2. ccflags-$(CONFIG_USB_MTU3_DEBUG) += -DDEBUG
  3. obj-$(CONFIG_USB_MTU3) += mtu3.o
  4. mtu3-y := mtu3_plat.o
  5. ifneq ($(filter y,$(CONFIG_USB_MTU3_HOST) $(CONFIG_USB_MTU3_DUAL_ROLE)),)
  6. mtu3-y += mtu3_host.o
  7. endif
  8. ifneq ($(filter y,$(CONFIG_USB_MTU3_GADGET) $(CONFIG_USB_MTU3_DUAL_ROLE)),)
  9. mtu3-y += mtu3_core.o mtu3_gadget_ep0.o mtu3_gadget.o mtu3_qmu.o
  10. endif
  11. ifneq ($(CONFIG_USB_MTU3_DUAL_ROLE),)
  12. mtu3-y += mtu3_dr.o
  13. endif