From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbtRr-00052x-Bj for qemu-devel@nongnu.org; Mon, 13 May 2013 10:10:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbtRm-0000kA-Ow for qemu-devel@nongnu.org; Mon, 13 May 2013 10:09:55 -0400 Received: from lhrrgout.huawei.com ([194.213.3.17]:29598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbsoA-0002nE-2T for qemu-devel@nongnu.org; Mon, 13 May 2013 09:28:54 -0400 Message-ID: <5190EA89.1000509@huawei.com> Date: Mon, 13 May 2013 15:28:41 +0200 From: Claudio Fontana MIME-Version: 1.0 References: <5141F36E.10004@huawei.com> <5187A863.7080903@huawei.com> <5187AFC0.3090201@redhat.com> <5190E923.1030200@huawei.com> In-Reply-To: <5190E923.1030200@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 1/3] configure: permit compilation on arm aarch64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Peter Maydell support compiling on aarch64. Signed-off-by: Claudio Fontana --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index 9439f1c..9cc398c 100755 --- a/configure +++ b/configure @@ -384,6 +384,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 @@ -406,6 +408,9 @@ case "$cpu" in armv*b|armv*l|arm) cpu="arm" ;; + aarch64) + cpu="aarch64" + ;; hppa|parisc|parisc64) cpu="hppa" ;; @@ -4114,6 +4119,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" -- 1.8.1