* [Qemu-devel] [PATCH v2] Add ability to disable build of all targets @ 2012-09-10 11:27 Daniel P. Berrange 2012-09-10 23:00 ` Anthony Liguori 0 siblings, 1 reply; 11+ messages in thread From: Daniel P. Berrange @ 2012-09-10 11:27 UTC (permalink / raw) To: qemu-devel From: "Daniel P. Berrange" <berrange@redhat.com> Allow passing of '--target-list=' to configure to request that all targets are to be disabled. This allows for doing a very fast tools-only build of things like qemu-img, qemu-io, qemu-nbd. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> --- configure | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/configure b/configure index 75dc9da..472374e 100755 --- a/configure +++ b/configure @@ -127,7 +127,7 @@ cc_i386=i386-pc-linux-gnu-gcc libs_qga="" debug_info="yes" -target_list="" +target_list="DEFAULT" # Default value for a variable defining feature "foo". # * foo="no" feature will only be used if --enable-foo arg is given @@ -1319,15 +1319,10 @@ if ! "$python" -c 'import sys; sys.exit(sys.version_info < (2,4) or sys.version_ exit 1 fi -if test -z "$target_list" ; then - target_list="$default_target_list" -else - target_list=`echo "$target_list" | sed -e 's/,/ /g'` -fi -if test -z "$target_list" ; then - echo "No targets enabled" - exit 1 +if test "$target_list" = "DEFAULT" ; then + target_list=`echo "$default_target_list" | sed -e 's/,/ /g'` fi + # see if system emulation was really requested case " $target_list " in *"-softmmu "*) softmmu=yes -- 1.7.11.2 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH v2] Add ability to disable build of all targets 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 0 siblings, 1 reply; 11+ messages in thread From: Anthony Liguori @ 2012-09-10 23:00 UTC (permalink / raw) To: Daniel P. Berrange, qemu-devel "Daniel P. Berrange" <berrange@redhat.com> writes: > From: "Daniel P. Berrange" <berrange@redhat.com> > > Allow passing of '--target-list=' to configure to request that > all targets are to be disabled. This allows for doing a very > fast tools-only build of things like qemu-img, qemu-io, qemu-nbd. > > Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Applied. Thanks. Regards, Anthony Liguori > --- > configure | 13 ++++--------- > 1 file changed, 4 insertions(+), 9 deletions(-) > > diff --git a/configure b/configure > index 75dc9da..472374e 100755 > --- a/configure > +++ b/configure > @@ -127,7 +127,7 @@ cc_i386=i386-pc-linux-gnu-gcc > libs_qga="" > debug_info="yes" > > -target_list="" > +target_list="DEFAULT" > > # Default value for a variable defining feature "foo". > # * foo="no" feature will only be used if --enable-foo arg is given > @@ -1319,15 +1319,10 @@ if ! "$python" -c 'import sys; sys.exit(sys.version_info < (2,4) or sys.version_ > exit 1 > fi > > -if test -z "$target_list" ; then > - target_list="$default_target_list" > -else > - target_list=`echo "$target_list" | sed -e 's/,/ /g'` > -fi > -if test -z "$target_list" ; then > - echo "No targets enabled" > - exit 1 > +if test "$target_list" = "DEFAULT" ; then > + target_list=`echo "$default_target_list" | sed -e 's/,/ /g'` > fi > + > # see if system emulation was really requested > case " $target_list " in > *"-softmmu "*) softmmu=yes > -- > 1.7.11.2 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH v2] Add ability to disable build of all targets 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 11:24 ` [Qemu-devel] [PATCH v2] Add ability to disable build of all targets Laurent Desnogues 0 siblings, 2 replies; 11+ messages in thread From: Eduardo Habkost @ 2012-09-11 18:56 UTC (permalink / raw) To: Anthony Liguori; +Cc: qemu-devel On Mon, Sep 10, 2012 at 06:00:54PM -0500, Anthony Liguori wrote: > "Daniel P. Berrange" <berrange@redhat.com> writes: > > > From: "Daniel P. Berrange" <berrange@redhat.com> > > > > Allow passing of '--target-list=' to configure to request that > > all targets are to be disabled. This allows for doing a very > > fast tools-only build of things like qemu-img, qemu-io, qemu-nbd. > > > > Signed-off-by: Daniel P. Berrange <berrange@redhat.com> > > Applied. Thanks. This patch broke the --target-list option: $ ./configure --target-list=x86_64-linux-user,x86_64-softmmu [...] ERROR: Target 'x86_64-linux-user,x86_64-softmmu' not recognised $ > > Regards, > > Anthony Liguori > > > --- > > configure | 13 ++++--------- > > 1 file changed, 4 insertions(+), 9 deletions(-) > > > > diff --git a/configure b/configure > > index 75dc9da..472374e 100755 > > --- a/configure > > +++ b/configure > > @@ -127,7 +127,7 @@ cc_i386=i386-pc-linux-gnu-gcc > > libs_qga="" > > debug_info="yes" > > > > -target_list="" > > +target_list="DEFAULT" > > > > # Default value for a variable defining feature "foo". > > # * foo="no" feature will only be used if --enable-foo arg is given > > @@ -1319,15 +1319,10 @@ if ! "$python" -c 'import sys; sys.exit(sys.version_info < (2,4) or sys.version_ > > exit 1 > > fi > > > > -if test -z "$target_list" ; then > > - target_list="$default_target_list" > > -else > > - target_list=`echo "$target_list" | sed -e 's/,/ /g'` > > -fi > > -if test -z "$target_list" ; then > > - echo "No targets enabled" > > - exit 1 > > +if test "$target_list" = "DEFAULT" ; then > > + target_list=`echo "$default_target_list" | sed -e 's/,/ /g'` > > fi > > + > > # see if system emulation was really requested > > case " $target_list " in > > *"-softmmu "*) softmmu=yes > > -- > > 1.7.11.2 > -- Eduardo ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [PATCH] configure: fix "--target-list=<target>, <target>, ..." option 2012-09-11 18:56 ` Eduardo Habkost @ 2012-09-11 19:02 ` Eduardo Habkost 2012-09-12 2:35 ` Peter Crosthwaite 2012-09-12 13:20 ` Laurent Desnogues 2012-09-12 11:24 ` [Qemu-devel] [PATCH v2] Add ability to disable build of all targets Laurent Desnogues 1 sibling, 2 replies; 11+ messages in thread From: Eduardo Habkost @ 2012-09-11 19:02 UTC (permalink / raw) To: qemu-devel; +Cc: Anthony Liguori 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 # see if system emulation was really requested -- 1.7.11.4 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] configure: fix "--target-list=<target>, <target>, ..." option 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 1 sibling, 0 replies; 11+ messages in thread From: Peter Crosthwaite @ 2012-09-12 2:35 UTC (permalink / raw) To: Eduardo Habkost; +Cc: qemu-devel, Anthony Liguori On Wed, Sep 12, 2012 at 5:02 AM, 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 > $ > Broke for me too. This patch fixes it. > This patch restores that ability. > > Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Tested-by: Peter Crosthwaite <peter.crosthwaite@petalogix.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 > > # see if system emulation was really requested > -- > 1.7.11.4 > > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] configure: fix "--target-list=<target>, <target>, ..." option 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 1 sibling, 1 reply; 11+ messages in thread From: Laurent Desnogues @ 2012-09-12 13:20 UTC (permalink / raw) To: Eduardo Habkost; +Cc: qemu-devel, Anthony Liguori 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. Creating an empty config-all-devices.mak before running make solves the issue. Laurent > # see if system emulation was really requested > -- > 1.7.11.4 > > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] configure: fix "--target-list=<target>, <target>, ..." option 2012-09-12 13:20 ` Laurent Desnogues @ 2012-09-14 12:53 ` Peter Maydell 2012-09-14 13:20 ` Anthony Liguori ` (2 more replies) 0 siblings, 3 replies; 11+ messages in thread From: Peter Maydell @ 2012-09-14 12:53 UTC (permalink / raw) To: Laurent Desnogues; +Cc: Eduardo Habkost, Anthony Liguori, qemu-devel 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] configure: fix "--target-list=<target>, <target>, ..." option 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 2 siblings, 0 replies; 11+ messages in thread From: Anthony Liguori @ 2012-09-14 13:20 UTC (permalink / raw) To: Peter Maydell, Laurent Desnogues; +Cc: Eduardo Habkost, qemu-devel Peter Maydell <peter.maydell@linaro.org> writes: > 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? I think this is a good idea. Regards, Anthony Liguori > > -- PMM ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] configure: fix "--target-list=<target>, <target>, ..." option 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 2 siblings, 0 replies; 11+ messages in thread From: Daniel P. Berrange @ 2012-09-14 13:30 UTC (permalink / raw) To: Peter Maydell Cc: Laurent Desnogues, Eduardo Habkost, Anthony Liguori, qemu-devel On Fri, Sep 14, 2012 at 01:53:11PM +0100, Peter Maydell wrote: > 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. Urgh, I see what went wrong. When I tested it, I still had a previously generated 'config-all-devices.mak' so this broken rule never hit me. When I 'git clean -f -x -d', then I see the same problem as you descibe. > Hmm. Perhaps we should just revert 66d5499b3 and then recommit > a working implementation later? Agreed, sorry for the screw up with this patch. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] configure: fix "--target-list=<target>, <target>, ..." option 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 2 siblings, 0 replies; 11+ messages in thread From: Stefan Weil @ 2012-09-14 17:37 UTC (permalink / raw) To: Peter Maydell Cc: Laurent Desnogues, Eduardo Habkost, Anthony Liguori, qemu-devel 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. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH v2] Add ability to disable build of all targets 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 11:24 ` Laurent Desnogues 1 sibling, 0 replies; 11+ messages in thread From: Laurent Desnogues @ 2012-09-12 11:24 UTC (permalink / raw) To: Eduardo Habkost; +Cc: qemu-devel, Anthony Liguori On Tue, Sep 11, 2012 at 8:56 PM, Eduardo Habkost <ehabkost@redhat.com> wrote: > On Mon, Sep 10, 2012 at 06:00:54PM -0500, Anthony Liguori wrote: >> "Daniel P. Berrange" <berrange@redhat.com> writes: >> >> > From: "Daniel P. Berrange" <berrange@redhat.com> >> > >> > Allow passing of '--target-list=' to configure to request that >> > all targets are to be disabled. This allows for doing a very >> > fast tools-only build of things like qemu-img, qemu-io, qemu-nbd. >> > >> > Signed-off-by: Daniel P. Berrange <berrange@redhat.com> >> >> Applied. Thanks. > > This patch broke the --target-list option: > > $ ./configure --target-list=x86_64-linux-user,x86_64-softmmu > [...] > ERROR: Target 'x86_64-linux-user,x86_64-softmmu' not recognised > $ It also seems to not even allow to use --target-list=. On my setup (CentOS 5.6, building in the git directory) the build process just hangs here: $ make V=1 cat | grep =y | sort -u > config-all-devices.mak Laurent >> >> Regards, >> >> Anthony Liguori >> >> > --- >> > configure | 13 ++++--------- >> > 1 file changed, 4 insertions(+), 9 deletions(-) >> > >> > diff --git a/configure b/configure >> > index 75dc9da..472374e 100755 >> > --- a/configure >> > +++ b/configure >> > @@ -127,7 +127,7 @@ cc_i386=i386-pc-linux-gnu-gcc >> > libs_qga="" >> > debug_info="yes" >> > >> > -target_list="" >> > +target_list="DEFAULT" >> > >> > # Default value for a variable defining feature "foo". >> > # * foo="no" feature will only be used if --enable-foo arg is given >> > @@ -1319,15 +1319,10 @@ if ! "$python" -c 'import sys; sys.exit(sys.version_info < (2,4) or sys.version_ >> > exit 1 >> > fi >> > >> > -if test -z "$target_list" ; then >> > - target_list="$default_target_list" >> > -else >> > - target_list=`echo "$target_list" | sed -e 's/,/ /g'` >> > -fi >> > -if test -z "$target_list" ; then >> > - echo "No targets enabled" >> > - exit 1 >> > +if test "$target_list" = "DEFAULT" ; then >> > + target_list=`echo "$default_target_list" | sed -e 's/,/ /g'` >> > fi >> > + >> > # see if system emulation was really requested >> > case " $target_list " in >> > *"-softmmu "*) softmmu=yes >> > -- >> > 1.7.11.2 >> > > -- > Eduardo > ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2012-09-14 17:37 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2012-09-12 11:24 ` [Qemu-devel] [PATCH v2] Add ability to disable build of all targets Laurent Desnogues
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).