From: Stefan Weil <sw@weilnetz.de>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Laurent Desnogues <laurent.desnogues@gmail.com>,
Eduardo Habkost <ehabkost@redhat.com>,
Anthony Liguori <anthony@codemonkey.ws>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] configure: fix "--target-list=<target>, <target>, ..." option
Date: Fri, 14 Sep 2012 19:37:40 +0200 [thread overview]
Message-ID: <50536B64.4000403@weilnetz.de> (raw)
In-Reply-To: <CAFEAcA_D=Ydd2zj1Bnd_dvj3mbaYdWqLojnzhPbpyuumfWCWTw@mail.gmail.com>
Am 14.09.2012 14:53, schrieb Peter Maydell:
> On 12 September 2012 14:20, Laurent Desnogues
> <laurent.desnogues@gmail.com> wrote:
>> Sorry, I had missed this patch...
>>
>> On Tue, Sep 11, 2012 at 9:02 PM, Eduardo Habkost<ehabkost@redhat.com> wrote:
>>> commit 66d5499b3754b83c09487259c08fe2ce73188a59 broke the support for
>>> comma-separated target lists on the --target-list option. e.g.:
>>>
>>> $ ./configure --target-list=x86_64-linux-user,x86_64-softmmu
>>> [...]
>>> ERROR: Target 'x86_64-linux-user,x86_64-softmmu' not recognised
>>> $
>>>
>>> This patch restores that ability.
>>>
>>> Signed-off-by: Eduardo Habkost<ehabkost@redhat.com>
>>> Cc: Daniel P. Berrange<berrange@redhat.com>
>>> Cc: Anthony Liguori<anthony@codemonkey.ws>
>>> ---
>>> configure | 4 +++-
>>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/configure b/configure
>>> index 7656c32..9ee7038 100755
>>> --- a/configure
>>> +++ b/configure
>>> @@ -1323,7 +1323,9 @@ if ! "$python" -c 'import sys; sys.exit(sys.version_info< (2,4) or sys.version_
>>> fi
>>>
>>> if test "$target_list" = "DEFAULT" ; then
>>> - target_list=`echo "$default_target_list" | sed -e 's/,/ /g'`
>>> + target_list="$default_target_list"
>>> +else
>>> + target_list=`echo "$target_list" | sed -e 's/,/ /g'`
>>> fi
>>
>> This works for me too.
>>
>> But I still can't get what the original patch posted by
>> Daniel Berrange intended to do:
>>
>> $ ./configure --target-list=
>> $ make V=1
>> cat | grep =y | sort -u> config-all-devices.mak
>>
>> And it of course hangs there.
>
> Hmm. Perhaps we should just revert 66d5499b3 and then recommit
> a working implementation later?
>
> -- PMM
make hangs while waiting for input on stdin:
if there is no emulation target, 'cat' is called without arguments.
I have sent a patch which fixes this. It can be applied after
reverting 66d5499b3 (which is not needed to get builds
without emulation targets).
Regards
Stefan W.
next prev parent reply other threads:[~2012-09-14 17:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-10 11:27 [Qemu-devel] [PATCH v2] Add ability to disable build of all targets Daniel P. Berrange
2012-09-10 23:00 ` Anthony Liguori
2012-09-11 18:56 ` Eduardo Habkost
2012-09-11 19:02 ` [Qemu-devel] [PATCH] configure: fix "--target-list=<target>, <target>, ..." option Eduardo Habkost
2012-09-12 2:35 ` Peter Crosthwaite
2012-09-12 13:20 ` Laurent Desnogues
2012-09-14 12:53 ` Peter Maydell
2012-09-14 13:20 ` Anthony Liguori
2012-09-14 13:30 ` Daniel P. Berrange
2012-09-14 17:37 ` Stefan Weil [this message]
2012-09-12 11:24 ` [Qemu-devel] [PATCH v2] Add ability to disable build of all targets Laurent Desnogues
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=50536B64.4000403@weilnetz.de \
--to=sw@weilnetz.de \
--cc=anthony@codemonkey.ws \
--cc=ehabkost@redhat.com \
--cc=laurent.desnogues@gmail.com \
--cc=peter.maydell@linaro.org \
--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.