From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlMvJ-0002ZN-8w for qemu-devel@nongnu.org; Tue, 26 Nov 2013 12:59:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlMv9-0005cZ-3x for qemu-devel@nongnu.org; Tue, 26 Nov 2013 12:59:45 -0500 Received: from mail-ea0-x234.google.com ([2a00:1450:4013:c01::234]:60239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlMv8-0005cJ-T9 for qemu-devel@nongnu.org; Tue, 26 Nov 2013 12:59:35 -0500 Received: by mail-ea0-f180.google.com with SMTP id f15so3833032eak.39 for ; Tue, 26 Nov 2013 09:59:34 -0800 (PST) Sender: Paolo Bonzini Message-ID: <5294E182.5000907@redhat.com> Date: Tue, 26 Nov 2013 18:59:30 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1212720896.288966.1385477539659.open-xchange@email.1und1.de> <1385481464.10163.37.camel@nilsson.home.kraxel.org> <5294CFD3.30609@rdsoftware.de> <5294DA7B.3050500@rdsoftware.de> In-Reply-To: <5294DA7B.3050500@rdsoftware.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] git master: usb-host needs additional parameters - no documentation which List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Erik Rull Cc: Gerd Hoffmann , "qemu-devel@nongnu.org" 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