From patchwork Wed May 29 09:10:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudio Fontana X-Patchwork-Id: 247192 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 7135F2C008C for ; Wed, 29 May 2013 19:11:25 +1000 (EST) Received: from localhost ([::1]:52818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhcPj-0002pQ-Kb for incoming@patchwork.ozlabs.org; Wed, 29 May 2013 05:11:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhcPK-0002gT-3Q for qemu-devel@nongnu.org; Wed, 29 May 2013 05:11:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhcPB-0003hZ-Np for qemu-devel@nongnu.org; Wed, 29 May 2013 05:10:58 -0400 Received: from lhrrgout.huawei.com ([194.213.3.17]:18109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhcPB-0003hR-Eu for qemu-devel@nongnu.org; Wed, 29 May 2013 05:10:49 -0400 Received: from 172.18.7.190 (EHLO lhreml204-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.5-GA FastPath queued) with ESMTP id ARX17335; Wed, 29 May 2013 09:10:41 +0000 (GMT) Received: from LHREML405-HUB.china.huawei.com (10.201.5.242) by lhreml204-edg.china.huawei.com (172.18.7.223) with Microsoft SMTP Server (TLS) id 14.1.323.7; Wed, 29 May 2013 10:09:46 +0100 Received: from [127.0.0.1] (10.220.139.64) by lhreml405-hub.china.huawei.com (10.201.5.242) with Microsoft SMTP Server id 14.1.323.7; Wed, 29 May 2013 10:10:06 +0100 Message-ID: <51A5C5ED.90103@huawei.com> Date: Wed, 29 May 2013 11:10:05 +0200 From: Claudio Fontana User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Peter Maydell References: <51A5C4A1.1020700@huawei.com> In-Reply-To: <51A5C4A1.1020700@huawei.com> X-Originating-IP: [10.220.139.64] X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 194.213.3.17 Cc: Laurent Desnogues , Jani Kokkonen , "qemu-devel@nongnu.org" , Richard Henderson Subject: [Qemu-devel] [PATCH v4 3/3] configure: permit compilation on arm aarch64 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 support compiling on aarch64. Reviewed-by: Peter Maydell Signed-off-by: Claudio Fontana --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index eb74510..f021bdd 100755 --- a/configure +++ b/configure @@ -385,6 +385,8 @@ elif check_define __s390__ ; then fi elif check_define __arm__ ; then cpu="arm" +elif check_define __aarch64__ ; then + cpu="aarch64" elif check_define __hppa__ ; then cpu="hppa" else @@ -407,6 +409,9 @@ case "$cpu" in armv*b|armv*l|arm) cpu="arm" ;; + aarch64) + cpu="aarch64" + ;; hppa|parisc|parisc64) cpu="hppa" ;; @@ -4127,6 +4132,9 @@ if test "$linux" = "yes" ; then s390x) linux_arch=s390 ;; + aarch64) + linux_arch=arm64 + ;; *) # For most CPUs the kernel architecture name and QEMU CPU name match. linux_arch="$cpu"