2016-10-19 10:28:26 +08:00
|
|
|
|
|
|
|
ccflags-$(CONFIG_USB_MTU3_DEBUG) += -DDEBUG
|
|
|
|
|
2016-10-19 10:28:23 +08:00
|
|
|
obj-$(CONFIG_USB_MTU3) += mtu3.o
|
2016-10-19 10:28:25 +08:00
|
|
|
|
|
|
|
mtu3-y := mtu3_plat.o
|
|
|
|
|
2016-10-19 10:28:26 +08:00
|
|
|
ifneq ($(filter y,$(CONFIG_USB_MTU3_HOST) $(CONFIG_USB_MTU3_DUAL_ROLE)),)
|
2016-10-19 10:28:25 +08:00
|
|
|
mtu3-y += mtu3_host.o
|
|
|
|
endif
|
|
|
|
|
2016-10-19 10:28:26 +08:00
|
|
|
ifneq ($(filter y,$(CONFIG_USB_MTU3_GADGET) $(CONFIG_USB_MTU3_DUAL_ROLE)),)
|
2016-10-19 10:28:25 +08:00
|
|
|
mtu3-y += mtu3_core.o mtu3_gadget_ep0.o mtu3_gadget.o mtu3_qmu.o
|
|
|
|
endif
|
2016-10-19 10:28:26 +08:00
|
|
|
|
|
|
|
ifneq ($(CONFIG_USB_MTU3_DUAL_ROLE),)
|
|
|
|
mtu3-y += mtu3_dr.o
|
|
|
|
endif
|