From patchwork Fri Sep 14 13:20:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Liguori X-Patchwork-Id: 183926 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 9C7E52C0093 for ; Fri, 14 Sep 2012 23:22:02 +1000 (EST) Received: from localhost ([::1]:51061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCVqK-0004W9-MV for incoming@patchwork.ozlabs.org; Fri, 14 Sep 2012 09:22:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCVq9-0004VI-Sh for qemu-devel@nongnu.org; Fri, 14 Sep 2012 09:21:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCVq4-0002zk-4g for qemu-devel@nongnu.org; Fri, 14 Sep 2012 09:21:49 -0400 Received: from e5.ny.us.ibm.com ([32.97.182.145]:43316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCVq4-0002yI-0V for qemu-devel@nongnu.org; Fri, 14 Sep 2012 09:21:44 -0400 Received: from /spool/local by e5.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 14 Sep 2012 09:21:35 -0400 Received: from d01relay03.pok.ibm.com (9.56.227.235) by e5.ny.us.ibm.com (192.168.1.105) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 14 Sep 2012 09:20:52 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay03.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q8EDKo00124190 for ; Fri, 14 Sep 2012 09:20:50 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q8EDKosH004440 for ; Fri, 14 Sep 2012 09:20:50 -0400 Received: from titi.austin.rr.com (sig-9-76-196-240.mts.ibm.com [9.76.196.240]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q8EDKnSa004361; Fri, 14 Sep 2012 09:20:50 -0400 From: Anthony Liguori To: qemu-devel@nongnu.org Date: Fri, 14 Sep 2012 08:20:49 -0500 Message-Id: <1347628849-4922-1-git-send-email-aliguori@us.ibm.com> X-Mailer: git-send-email 1.7.5.4 x-cbid: 12091413-5930-0000-0000-00000C0F1C70 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 32.97.182.145 Cc: Anthony Liguori Subject: [Qemu-devel] [PATCH] Revert "Add ability to disable build of all targets" X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This reverts commit 66d5499b3754b83c09487259c08fe2ce73188a59. This commit broke --target-list="x86_64-softmmu" and the fix isn't immediatley obvious. Signed-off-by: Anthony Liguori --- configure | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 7656c32..138f045 100755 --- a/configure +++ b/configure @@ -127,7 +127,7 @@ cc_i386=i386-pc-linux-gnu-gcc libs_qga="" debug_info="yes" -target_list="DEFAULT" +target_list="" # Default value for a variable defining feature "foo". # * foo="no" feature will only be used if --enable-foo arg is given @@ -1322,10 +1322,15 @@ if ! "$python" -c 'import sys; sys.exit(sys.version_info < (2,4) or sys.version_ exit 1 fi -if test "$target_list" = "DEFAULT" ; then - target_list=`echo "$default_target_list" | sed -e 's/,/ /g'` +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 fi - # see if system emulation was really requested case " $target_list " in *"-softmmu "*) softmmu=yes