From 2041649f0b04f61869589571ddf5ecd4f0695ea2 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 8 Sep 2017 13:12:17 +0200 Subject: usb: only build usb-host with CONFIG_USB=y Signed-off-by: Gerd Hoffmann Reviewed-by: Fam Zheng Reviewed-by: Thomas Huth Tested-by: Thomas Huth Message-id: 20170908111217.21985-3-kraxel@redhat.com --- hw/usb/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/usb/Makefile.objs b/hw/usb/Makefile.objs index a43ebbc17f..757e365562 100644 --- a/hw/usb/Makefile.objs +++ b/hw/usb/Makefile.objs @@ -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 -- cgit v1.2.3