[U-Boot] [PATCH 4/4] usb: gadget: udc: Build on USB_GADGET

Roger Quadros rogerq at ti.com
Fri May 13 14:17:53 CEST 2016


udc-core is a generic framework and not specific to dwc3.
So build it based on USB_GADGET.

Signed-off-by: Roger Quadros <rogerq at ti.com>
---
 drivers/usb/gadget/udc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/udc/Makefile b/drivers/usb/gadget/udc/Makefile
index 1699ccd..68766c5 100644
--- a/drivers/usb/gadget/udc/Makefile
+++ b/drivers/usb/gadget/udc/Makefile
@@ -4,4 +4,4 @@
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
-obj-$(CONFIG_USB_DWC3_GADGET)	+= udc-core.o
+obj-$(CONFIG_USB_GADGET)	+= udc-core.o
-- 
2.7.4



More information about the U-Boot mailing list