Commit 2041649f authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

usb: only build usb-host with CONFIG_USB=y



Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: default avatarFam Zheng <famz@redhat.com>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Tested-by: default avatarThomas Huth <thuth@redhat.com>
Message-id: 20170908111217.21985-3-kraxel@redhat.com
parent 4e5ee5b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ endif
common-obj-$(CONFIG_USB_REDIR) += redirect.o quirks.o

# usb pass-through
ifeq ($(CONFIG_LIBUSB),y)
ifeq ($(CONFIG_LIBUSB)$(CONFIG_USB),yy)
common-obj-y += host-libusb.o host-legacy.o
else
common-obj-y += host-stub.o