|
|
9ae3a8 |
From f4e64f793b273e319587b9052c9f8cde77b6db52 Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
Date: Tue, 2 Jun 2015 13:21:52 +0200
|
|
|
9ae3a8 |
Subject: [PATCH 5/8] configure: permit compilation on arm aarch64
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Message-id: <40b5931574ca633cff2c4a27507680b321009906.1433250807.git.mrezanin@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 65307
|
|
|
9ae3a8 |
O-Subject: [RHEL-7.2 qemu-kvm PATCH 3/4] configure: permit compilation on arm aarch64
|
|
|
9ae3a8 |
Bugzilla: 1217850
|
|
|
9ae3a8 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Wei Huang <wei@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Jeff Nelson <jenelson@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
From: Claudio Fontana <claudio.fontana@huawei.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
support compiling on aarch64.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
|
|
|
9ae3a8 |
Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
|
|
|
9ae3a8 |
Reviewed-by: Richard Henderson <rth@twiddle.net>
|
|
|
9ae3a8 |
Message-id: 51A5C5ED.90103@huawei.com
|
|
|
9ae3a8 |
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
|
9ae3a8 |
(cherry-picked from 1f0803137df68c1fc02ebd0c5ec2e7aad54bbf3b)
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
configure | 8 ++++++++
|
|
|
9ae3a8 |
1 file changed, 8 insertions(+)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/configure b/configure
|
|
|
9ae3a8 |
index 7cc7725..85dbfb0 100755
|
|
|
9ae3a8 |
--- a/configure
|
|
|
9ae3a8 |
+++ b/configure
|
|
|
9ae3a8 |
@@ -394,6 +394,8 @@ elif check_define __s390__ ; then
|
|
|
9ae3a8 |
fi
|
|
|
9ae3a8 |
elif check_define __arm__ ; then
|
|
|
9ae3a8 |
cpu="arm"
|
|
|
9ae3a8 |
+elif check_define __aarch64__ ; then
|
|
|
9ae3a8 |
+ cpu="aarch64"
|
|
|
9ae3a8 |
elif check_define __hppa__ ; then
|
|
|
9ae3a8 |
cpu="hppa"
|
|
|
9ae3a8 |
else
|
|
|
9ae3a8 |
@@ -416,6 +418,9 @@ case "$cpu" in
|
|
|
9ae3a8 |
armv*b|armv*l|arm)
|
|
|
9ae3a8 |
cpu="arm"
|
|
|
9ae3a8 |
;;
|
|
|
9ae3a8 |
+ aarch64)
|
|
|
9ae3a8 |
+ cpu="aarch64"
|
|
|
9ae3a8 |
+ ;;
|
|
|
9ae3a8 |
hppa|parisc|parisc64)
|
|
|
9ae3a8 |
cpu="hppa"
|
|
|
9ae3a8 |
;;
|
|
|
9ae3a8 |
@@ -4306,6 +4311,9 @@ if test "$linux" = "yes" ; then
|
|
|
9ae3a8 |
s390x)
|
|
|
9ae3a8 |
linux_arch=s390
|
|
|
9ae3a8 |
;;
|
|
|
9ae3a8 |
+ aarch64)
|
|
|
9ae3a8 |
+ linux_arch=arm64
|
|
|
9ae3a8 |
+ ;;
|
|
|
9ae3a8 |
*)
|
|
|
9ae3a8 |
# For most CPUs the kernel architecture name and QEMU CPU name match.
|
|
|
9ae3a8 |
linux_arch="$cpu"
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.8.3.1
|
|
|
9ae3a8 |
|