xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: Ian Campbell <Ian.Campbell@citrix.com>, Don Slutz <dslutz@verizon.com>
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: Fri, 09 May 2014 10:32:38 +0200	[thread overview]
Message-ID: <536C92A6.6020704@m2r.biz> (raw)
In-Reply-To: <1399624089.9513.108.camel@kazak.uk.xensource.com>

Il 09/05/2014 10:28, Ian Campbell ha scritto:
> On Thu, 2014-05-08 at 12:53 -0400, Don Slutz wrote:
>> 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.
> As a developer at least I typically run configure once (or infrequently)
> and then run make a lot. Having to remember to put stuff on the make
> command line defeats that. In some ways this is part of the reason for
> using autoconf.
>
> I don't think splitting things between .config and autoconf is a
> particularly brilliant way to do things, at least for tools related
> stuff.

I also think that is better add it on configure, probably today I'll do, 
test and post the v7 following your previous advices.

>
>>    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
>>
>

      reply	other threads:[~2014-05-09  8:32 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
2014-05-09  8:28         ` Ian Campbell
2014-05-09  8:32           ` Fabio Fantoni [this message]

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=536C92A6.6020704@m2r.biz \
    --to=fabio.fantoni@m2r.biz \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=dslutz@verizon.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).