usb: fix libusb config variable name.
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 26 Sep 2017 06:38:20 +0000 (08:38 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 29 Sep 2017 10:27:30 +0000 (12:27 +0200)
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Fixes: 4e5ee5b21c84fe3023a64b5cc2e12a52ab0597c1
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Jan Kiszka <jan.kiszka@siemens.com>
Message-id: 20170926063820.30773-1-kraxel@redhat.com

hw/usb/Makefile.objs

index 9255234c63982f52c59b2c8a9749374bb0e1c068..0e6d54b21f6699b8e5ffea71fc3d59998bc00472 100644 (file)
@@ -42,7 +42,7 @@ redirect.o-cflags = $(USB_REDIR_CFLAGS)
 redirect.o-libs = $(USB_REDIR_LIBS)
 
 # usb pass-through
-ifeq ($(CONFIG_LIBUSB)$(CONFIG_USB),yy)
+ifeq ($(CONFIG_USB_LIBUSB)$(CONFIG_USB),yy)
 common-obj-y += host-libusb.o host-legacy.o
 else
 common-obj-y += host-stub.o