All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Erik Rull <erik.rull@rdsoftware.de>
Cc: Gerd Hoffmann <kraxel@redhat.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] git master: usb-host needs additional parameters - no documentation which
Date: Tue, 26 Nov 2013 18:59:30 +0100	[thread overview]
Message-ID: <5294E182.5000907@redhat.com> (raw)
In-Reply-To: <5294DA7B.3050500@rdsoftware.de>

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	other threads:[~2013-11-26 17:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26 14:52 [Qemu-devel] git master: usb-host needs additional parameters - no documentation which Erik Rull
2013-11-26 15:57 ` Gerd Hoffmann
2013-11-26 16:44   ` Erik Rull
2013-11-26 17:29     ` Erik Rull
2013-11-26 17:59       ` Paolo Bonzini [this message]
2013-11-27  6:55         ` Gerd Hoffmann
2013-11-27  6:53     ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5294E182.5000907@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=erik.rull@rdsoftware.de \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.