qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] usb: fix libusb config variable name.


From: Jan Kiszka
Subject: Re: [Qemu-devel] [PATCH] usb: fix libusb config variable name.
Date: Tue, 26 Sep 2017 10:06:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

On 2017-09-26 09:21, Gerd Hoffmann wrote:
> On Tue, 2017-09-26 at 09:16 +0200, Jan Kiszka wrote:
>> On 2017-09-26 08:38, Gerd Hoffmann wrote:
>>> Cc: Jan Kiszka <address@hidden>
>>> Fixes: 4e5ee5b21c84fe3023a64b5cc2e12a52ab0597c1
>>> Signed-off-by: Gerd Hoffmann <address@hidden>
>>> ---
>>>  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 9255234c63..0e6d54b21f 100644
>>> --- a/hw/usb/Makefile.objs
>>> +++ b/hw/usb/Makefile.objs
>>> @@ -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
>>>
>>
>> This won't still work, only patch did -> CONFIG_USB isn't set when
>> building the common objects.
> 
> I've tested it, and it did work.  Also note that there are a bunch of
> 
>    common-obj-$(CONFIG_USB) += something
> 
> lines in hw/usb/Makefile.objs
> 

I swear it didn't while developing the fix, but it does indeed now.

Tested-by: Jan Kiszka <address@hidden>

Jan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]