mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 00:48:52 +09:00
![Roger Quadros](/assets/img/avatar_default.png)
It is pointless to build gadget driver if USB_GADGET is disabled. Signed-off-by: Roger Quadros <rogerq@ti.com> Acked-by: Marek Vasut <marex@denx.de>
14 lines
298 B
Makefile
14 lines
298 B
Makefile
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-$(CONFIG_USB_DWC3) += dwc3.o
|
|
|
|
dwc3-y := core.o
|
|
|
|
obj-$(CONFIG_USB_DWC3_GADGET) += gadget.o ep0.o
|
|
|
|
obj-$(CONFIG_USB_DWC3_OMAP) += dwc3-omap.o
|
|
obj-$(CONFIG_USB_DWC3_PHY_OMAP) += ti_usb_phy.o
|
|
obj-$(CONFIG_USB_DWC3_PHY_SAMSUNG) += samsung_usb_phy.o
|