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>
This commit is contained in:
parent
6a91c7c978
commit
1f0803137d
8
configure
vendored
8
configure
vendored
@ -386,6 +386,8 @@ elif check_define __s390__ ; then
|
|||||||
fi
|
fi
|
||||||
elif check_define __arm__ ; then
|
elif check_define __arm__ ; then
|
||||||
cpu="arm"
|
cpu="arm"
|
||||||
|
elif check_define __aarch64__ ; then
|
||||||
|
cpu="aarch64"
|
||||||
elif check_define __hppa__ ; then
|
elif check_define __hppa__ ; then
|
||||||
cpu="hppa"
|
cpu="hppa"
|
||||||
else
|
else
|
||||||
@ -408,6 +410,9 @@ case "$cpu" in
|
|||||||
armv*b|armv*l|arm)
|
armv*b|armv*l|arm)
|
||||||
cpu="arm"
|
cpu="arm"
|
||||||
;;
|
;;
|
||||||
|
aarch64)
|
||||||
|
cpu="aarch64"
|
||||||
|
;;
|
||||||
hppa|parisc|parisc64)
|
hppa|parisc|parisc64)
|
||||||
cpu="hppa"
|
cpu="hppa"
|
||||||
;;
|
;;
|
||||||
@ -4060,6 +4065,9 @@ if test "$linux" = "yes" ; then
|
|||||||
s390x)
|
s390x)
|
||||||
linux_arch=s390
|
linux_arch=s390
|
||||||
;;
|
;;
|
||||||
|
aarch64)
|
||||||
|
linux_arch=arm64
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
# For most CPUs the kernel architecture name and QEMU CPU name match.
|
# For most CPUs the kernel architecture name and QEMU CPU name match.
|
||||||
linux_arch="$cpu"
|
linux_arch="$cpu"
|
||||||
|
Loading…
Reference in New Issue
Block a user