mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue