Skip to content

Commit

Permalink
usb: only build usb-host with CONFIG_USB=y
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-id: 20170908111217.21985-3-kraxel@redhat.com
  • Loading branch information
kraxel committed Sep 13, 2017
1 parent 4e5ee5b commit 2041649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/usb/Makefile.objs
Expand Up @@ -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
Expand Down

0 comments on commit 2041649

Please sign in to comment.