usb: fix host-stub.c build race
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 4 Oct 2017 12:52:10 +0000 (14:52 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 5 Oct 2017 09:03:25 +0000 (11:03 +0200)
Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20171004125210.7817-1-kraxel@redhat.com

hw/usb/Makefile.objs

index 0e6d54b21f6699b8e5ffea71fc3d59998bc00472..bdfead6701a2ff1747c49440c749905aadc049ea 100644 (file)
@@ -47,6 +47,7 @@ common-obj-y += host-libusb.o host-legacy.o
 else
 common-obj-y += host-stub.o
 endif
+common-obj-$(CONFIG_ALL) += host-stub.o
 
 host-libusb.o-cflags := $(LIBUSB_CFLAGS)
 host-libusb.o-libs := $(LIBUSB_LIBS)