summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-07-10 08:04:15 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-18 14:42:35 +0200
commit4a872ae0ffe1380a28589f8f9e164d9d67471f1a (patch)
tree8dcf2d108372c95d83c8f985da78b55702fe7813 /drivers/usb/core
parentd985d2276345b6627b8887d0f81cd932beed62cb (diff)
downloadbarebox-4a872ae0ffe1380a28589f8f9e164d9d67471f1a.tar.gz
barebox-4a872ae0ffe1380a28589f8f9e164d9d67471f1a.tar.xz
USB: Kconfig: introduce USB_HOST symbol
This renames USB to USB_HOST since this is what the symbol really means. Introduce a USB symbol which is selected by both USB_GADGET and USB_HOST. This gives us a symbol to let common USB code depend on. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r--drivers/usb/core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/Makefile b/drivers/usb/core/Makefile
index 368fb56808..a74f141db4 100644
--- a/drivers/usb/core/Makefile
+++ b/drivers/usb/core/Makefile
@@ -1,3 +1,3 @@
-obj-y += usb.o
+obj-$(CONFIG_USB_HOST) += usb.o
obj-$(CONFIG_OFDEVICE) += of.o