Skip to content
Snippets Groups Projects
Commit 3ac8d1ee authored by Roger Quadros's avatar Roger Quadros Committed by Tom Rini
Browse files

usb: dwc3: Makefile: Don't build gadget code if USB_GADGET is disabled


It is pointless to build gadget driver if USB_GADGET is disabled.

Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
parent bc6fc28b
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ obj-$(CONFIG_USB_DWC3) += dwc3.o
dwc3-y := core.o
dwc3-y += gadget.o ep0.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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment