[Qemu-devel] [PATCH] usb: fix host-stub.c build race

Gerd Hoffmann posted 1 patch 6 years, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20171004125210.7817-1-kraxel@redhat.com
Test checkpatch passed
Test docker passed
Test s390x passed
hw/usb/Makefile.objs | 1 +
1 file changed, 1 insertion(+)
[Qemu-devel] [PATCH] usb: fix host-stub.c build race
Posted by Gerd Hoffmann 6 years, 6 months ago
Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 hw/usb/Makefile.objs | 1 +
 1 file changed, 1 insertion(+)

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)
-- 
2.9.3


Re: [Qemu-devel] [PATCH] usb: fix host-stub.c build race
Posted by Thomas Huth 6 years, 6 months ago
On 04.10.2017 14:52, Gerd Hoffmann wrote:
> Suggested-by: Thomas Huth <thuth@redhat.com>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
>  hw/usb/Makefile.objs | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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)
> 

Reviewed-by: Thomas Huth <thuth@redhat.com>