From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfQkc-0005Od-2A for qemu-devel@nongnu.org; Thu, 23 May 2013 04:20:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfQkT-0000CL-LX for qemu-devel@nongnu.org; Thu, 23 May 2013 04:19:54 -0400 Received: from lhrrgout.huawei.com ([194.213.3.17]:50276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfQkT-0000CB-Cl for qemu-devel@nongnu.org; Thu, 23 May 2013 04:19:45 -0400 Message-ID: <519DD116.4040600@huawei.com> Date: Thu, 23 May 2013 10:19:34 +0200 From: Claudio Fontana MIME-Version: 1.0 References: <5141F36E.10004@huawei.com> <519DCEC8.8060000@huawei.com> In-Reply-To: <519DCEC8.8060000@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 3/4] configure: permit compilation on arm aarch64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paolo Bonzini , qemu-devel@nongnu.org, Richard Henderson 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