qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] git master: usb-host needs additional parameters - no d


From: Paolo Bonzini
Subject: Re: [Qemu-devel] git master: usb-host needs additional parameters - no documentation which
Date: Tue, 26 Nov 2013 18:59:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

Il 26/11/2013 18:29, Erik Rull ha scritto:
> 
> Just a thought:
> Snippet from configure:
> 
>         libusb_cflags=$($pkg_config --cflags libusb-1.0)
>         libusb_libs=$($pkg_config --libs libusb-1.0)
>         QEMU_CFLAGS="$QEMU_CFLAGS $libusb_cflags"
>         libs_softmmu="$libs_softmmu $libusb_libs"
> 
> Is it possible to expose the two libusb_ variables to a
> configure-parameter? This would be sufficient for me to compile qemu
> with the parameters I need. I don't have the package installed but the
> includes and libs are present on the build machine and the lib is
> available on the target machine.

Note that configure does have this:

echo "libusb            $libusb"

It seems strange to me that you have includes and libs but no .pc file.
 Perhaps the pkg-config path (PKG_CONFIG_PATH) is not set correctly?

Note that in the meanwhile you can use "-device usb-host-linux", I think.

Paolo



reply via email to

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