mirror of
https://github.com/qemu/qemu.git
synced 2024-12-01 07:43:35 +08:00
usb: only build usb-host with CONFIG_USB=y
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
This commit is contained in:
parent
4e5ee5b21c
commit
2041649f0b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user