From patchwork Wed May 26 14:08:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 53636 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 5A259B7D19 for ; Thu, 27 May 2010 01:27:43 +1000 (EST) Received: from localhost ([127.0.0.1]:56903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHIWB-0004Ph-N4 for incoming@patchwork.ozlabs.org; Wed, 26 May 2010 11:27:39 -0400 Received: from [140.186.70.92] (port=45556 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHHNI-0003NJ-7w for qemu-devel@nongnu.org; Wed, 26 May 2010 10:14:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHHHi-0003rI-AA for qemu-devel@nongnu.org; Wed, 26 May 2010 10:08:43 -0400 Received: from mail-wy0-f173.google.com ([74.125.82.173]:56556) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHHHi-0003r7-5h for qemu-devel@nongnu.org; Wed, 26 May 2010 10:08:38 -0400 Received: by wyf28 with SMTP id 28so1006253wyf.4 for ; Wed, 26 May 2010 07:08:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :message-id:x-mailer:in-reply-to:references; bh=Sh3Qd4mdl2vNHm/YPKKgcfrPxyYlNeMAFFDrXgsxOYA=; b=MvTTQNBVaLvCNh14HFviIHP3M69y5QXkWpQBo7zPgl5xhvxd986YA5x349TdfsJ8Ey xxwv8cCGBzpSlepPFHM4bZSLDzIvmWX1Ap1CcEC64tQIioBvpB5hRT0HgyHMwiBVMSI4 AveTglWDoZ/NT3fR6ynbyeaIV+3oGBPtFLigc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:message-id:x-mailer:in-reply-to :references; b=nnzIJRzY1T9vC/PEORpQbNjY8m09D6RzGAQkKwqTmg9eiKPY6/7rP0aG/zeCVZcRIO n3RZcEKZ02V4WTuAOmEvYE0OQ6F2vRCkcPv1adaAMC9PMLdIuoZiK26EIOE5FcwjhcVl 6AEYBdYgGJQMmsncIrH1ozpKoYBqZwDYgLq/Y= Received: by 10.227.141.200 with SMTP id n8mr8543162wbu.200.1274882917376; Wed, 26 May 2010 07:08:37 -0700 (PDT) Received: from localhost.localdomain (nat-pool-brq-t.redhat.com [209.132.186.34]) by mx.google.com with ESMTPS id z33sm890140wbd.1.2010.05.26.07.08.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 26 May 2010 07:08:36 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 26 May 2010 16:08:16 +0200 Message-Id: <1274882909-9800-2-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.6.6.1 In-Reply-To: <1274882909-9800-1-git-send-email-pbonzini@redhat.com> References: <1274882909-9800-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [Qemu-devel] [PATCH 01/14] bail out early on invalid -cpu option X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org It would fail later anyway. Signed-off-by: Paolo Bonzini --- configure | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 3cd2c5f..e8dd2ef 100755 --- a/configure +++ b/configure @@ -232,7 +232,8 @@ case "$cpu" in cpu="sparc" ;; *) - cpu="unknown" + echo "Unsupported CPU = $cpu" + exit 1 ;; esac @@ -2068,10 +2069,6 @@ case "$cpu" in armv4b|armv4l) ARCH=arm ;; - *) - echo "Unsupported CPU = $cpu" - exit 1 - ;; esac echo "ARCH=$ARCH" >> $config_host_mak if test "$debug_tcg" = "yes" ; then