qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 12/13] configure: permit compilation on arm aarch64


From: Peter Maydell
Subject: [Qemu-devel] [PULL 12/13] configure: permit compilation on arm aarch64
Date: Wed, 12 Jun 2013 16:57:24 +0100

From: Claudio Fontana <address@hidden>

support compiling on aarch64.

Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Claudio Fontana <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
---
 configure |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/configure b/configure
index cb42269..1bab634 100755
--- a/configure
+++ b/configure
@@ -386,6 +386,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
@@ -408,6 +410,9 @@ case "$cpu" in
   armv*b|armv*l|arm)
     cpu="arm"
   ;;
+  aarch64)
+    cpu="aarch64"
+  ;;
   hppa|parisc|parisc64)
     cpu="hppa"
   ;;
@@ -4060,6 +4065,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.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]