From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBCyT-00056m-Ju for qemu-devel@nongnu.org; Mon, 10 Sep 2012 19:01:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBCyS-00080C-La for qemu-devel@nongnu.org; Mon, 10 Sep 2012 19:01:01 -0400 Received: from mail-oa0-f45.google.com ([209.85.219.45]:35242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBCyS-000806-Gd for qemu-devel@nongnu.org; Mon, 10 Sep 2012 19:01:00 -0400 Received: by oagn12 with SMTP id n12so765484oag.4 for ; Mon, 10 Sep 2012 16:00:59 -0700 (PDT) From: Anthony Liguori In-Reply-To: <1347276441-28552-1-git-send-email-berrange@redhat.com> References: <1347276441-28552-1-git-send-email-berrange@redhat.com> Date: Mon, 10 Sep 2012 18:00:54 -0500 Message-ID: <87obldbhzt.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH v2] Add ability to disable build of all targets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org "Daniel P. Berrange" writes: > From: "Daniel P. Berrange" > > 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 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