All of lore.kernel.org
 help / color / mirror / Atom feed
From: Don Slutz <dslutz@verizon.com>
To: Ian Campbell <Ian.Campbell@citrix.com>,
	Fabio Fantoni <fabio.fantoni@m2r.biz>
Cc: xen-devel@lists.xensource.com, Ian.Jackson@eu.citrix.com,
	Stefano.Stabellini@eu.citrix.com,
	Roger Pau Monne <roger.pau@citrix.com>
Subject: Re: [PATCH v6] Autoconf: add variable for pass arbitrary options to qemu upstream
Date: Thu, 08 May 2014 12:53:24 -0400	[thread overview]
Message-ID: <536BB684.3010909@terremark.com> (raw)
In-Reply-To: <1399549411.9513.75.camel@kazak.uk.xensource.com>

On 05/08/14 07:43, Ian Campbell wrote:
> On Thu, 2014-05-08 at 13:00 +0200, Fabio Fantoni wrote:
>> Il 08/05/2014 11:53, Ian Campbell ha scritto:
>>> On Tue, 2014-05-06 at 16:30 +0200, Fabio Fantoni wrote:
>>>> Added configure options for pass arbitrary build options to qemu
>>>> upstream.
>>>>
>>>> Usage example:
>>>> ./configure QEMUU_EXTRA_ARGS="--enable-spice --enable-usb-redir"
>>> Isn't
>>>           ./configure --with-extra-qemuu-configure-args="--enable-sss"
>>> more conventional for this sort of thing?
>> I don't know, tell me what is best.

Sorry I missed early versions of this.  There is no reason
that I know of to involve configure in this.  The following
works just fine (Just the makefile change and a changed
commit message):



 From 847b9dee4dea17c86f6ec402e5fcff7d515d1767 Mon Sep 17 00:00:00 2001
From: Fabio Fantoni <fabio.fantoni@m2r.biz>
Date: Tue, 6 May 2014 16:30:50 +0200
Subject: [PATCH] tools: Pass arbitrary build options to qemu upstream.

Usage examples:

   CONFIG_QEMUU_EXTRA_ARGS="--enable-spice --enable-usb-redir" make tools

or

   make tools CONFIG_QEMUU_EXTRA_ARGS="--enable-spice --enable-usb-redir"

or

   echo CONFIG_QEMUU_EXTRA_ARGS="--enable-spice --enable-usb-redir" >>.config
   make tools

or

   export CONFIG_QEMUU_EXTRA_ARGS="--enable-spice --enable-usb-redir"
   make tools

Signed-off-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
---
  tools/Makefile | 1 +
  1 file changed, 1 insertion(+)

diff --git a/tools/Makefile b/tools/Makefile
index 3675515..992fe3e 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -203,6 +203,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
                 --disable-docs \
                 --disable-guest-agent \
                 --python=$(PYTHON) \
+               $(CONFIG_QEMUU_EXTRA_ARGS) \
                 $(IOEMU_CONFIGURE_CROSS); \
         $(MAKE) all

-- 
1.8.2.1

  reply	other threads:[~2014-05-08 16:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06 14:30 [PATCH v6] Autoconf: add variable for pass arbitrary options to qemu upstream Fabio Fantoni
2014-05-08  9:53 ` Ian Campbell
2014-05-08 11:00   ` Fabio Fantoni
2014-05-08 11:43     ` Ian Campbell
2014-05-08 16:53       ` Don Slutz [this message]
2014-05-09  8:28         ` Ian Campbell
2014-05-09  8:32           ` Fabio Fantoni

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=536BB684.3010909@terremark.com \
    --to=dslutz@verizon.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=fabio.fantoni@m2r.biz \
    --cc=roger.pau@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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.