aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Fontana <Claudio.Fontana@huawei.com>2013-05-13 03:28:41 +0000
committerPeter Maydell <peter.maydell@linaro.org>2013-05-20 19:13:21 +0100
commit6ea8a51a0515f0beebb3e74e48dc97dd9a7bcf3a (patch)
treeb2f457063c6c51c187ec04d5d9ed93fcc8d31753
parent90d0379378fb6fa14425e4e80ba3171942bae8c9 (diff)
downloadqemu-arm-6ea8a51a0515f0beebb3e74e48dc97dd9a7bcf3a.tar.gz
configure: permit compilation on arm aarch64
support compiling on aarch64. Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index 4b74a94a24..89c74a0bd7 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"
;;
@@ -4071,6 +4076,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"