summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorClaudio Fontana2013-06-12 17:20:23 +0200
committerPeter Maydell2013-06-12 17:20:23 +0200
commit1f0803137df68c1fc02ebd0c5ec2e7aad54bbf3b (patch)
tree844e291bce59758ba7f303f058466b0193ab86a3 /configure
parenttcg/aarch64: implement user mode qemu ld/st (diff)
downloadqemu-1f0803137df68c1fc02ebd0c5ec2e7aad54bbf3b.tar.gz
qemu-1f0803137df68c1fc02ebd0c5ec2e7aad54bbf3b.tar.xz
qemu-1f0803137df68c1fc02ebd0c5ec2e7aad54bbf3b.zip
configure: permit compilation on arm aarch64
support compiling on aarch64. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Message-id: 51A5C5ED.90103@huawei.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index cb42269d45..1bab634c43 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"