diff mbox series

[PULL,4/4] usb: fix host-stub.c build race

Message ID 20171005090443.26889-5-kraxel@redhat.com
State New
Headers show
Series [PULL,1/4] hw/usb/bus: Remove bad object_unparent() from usb_try_create_simple() | expand

Commit Message

Gerd Hoffmann Oct. 5, 2017, 9:04 a.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/hw/usb/Makefile.objs b/hw/usb/Makefile.objs
index 0e6d54b21f..bdfead6701 100644
--- a/hw/usb/Makefile.objs
+++ b/hw/usb/Makefile.objs
@@ -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)