summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-01-11 10:47:41 -0500
committerTom Rini <trini@konsulko.com>2019-01-11 10:47:41 -0500
commit7f9418688d253853d0f69e9911d0d172d97f62cf (patch)
tree64fa2f6f4563709cb67b8e3574d3ba5a39c0bb53 /Makefile
parentd3035b856027cb9621a252aafc6316b3724d6294 (diff)
parentb3c518a88278619b1e109de114c450237d03e032 (diff)
downloadu-boot-7f9418688d253853d0f69e9911d0d172d97f62cf.tar.gz
u-boot-7f9418688d253853d0f69e9911d0d172d97f62cf.tar.bz2
u-boot-7f9418688d253853d0f69e9911d0d172d97f62cf.zip
Merge branch 'master' of git://git.denx.de/u-boot-usb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 99cb9e434d..aa1d72466c 100644
--- a/Makefile
+++ b/Makefile
@@ -712,8 +712,8 @@ libs-y += drivers/usb/dwc3/
libs-y += drivers/usb/common/
libs-y += drivers/usb/emul/
libs-y += drivers/usb/eth/
-libs-y += drivers/usb/gadget/
-libs-y += drivers/usb/gadget/udc/
+libs-$(CONFIG_USB_GADGET) += drivers/usb/gadget/
+libs-$(CONFIG_USB_GADGET) += drivers/usb/gadget/udc/
libs-y += drivers/usb/host/
libs-y += drivers/usb/musb/
libs-y += drivers/usb/musb-new/