cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-configure-Add-handling-code-for-AArch64-targets.patch

05bba0
From de5ec0b147e227e4429033070e432f7b5b6b749f Mon Sep 17 00:00:00 2001
05bba0
From: Miroslav Rezanina <mrezanin@redhat.com>
05bba0
Date: Tue, 2 Jun 2015 13:21:51 +0200
05bba0
Subject: [PATCH 4/8] configure: Add handling code for AArch64 targets
05bba0
05bba0
Message-id: <33907397e8692eaafe8700f27021516eab227257.1433250807.git.mrezanin@redhat.com>
05bba0
Patchwork-id: 65306
05bba0
O-Subject: [RHEL-7.2 qemu-kvm PATCH 2/4] configure: Add handling code for AArch64 targets
05bba0
Bugzilla: 1217850
05bba0
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
05bba0
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
05bba0
RH-Acked-by: Wei Huang <wei@redhat.com>
05bba0
RH-Acked-by: Jeff Nelson <jenelson@redhat.com>
05bba0
05bba0
From: Alexander Graf <agraf@suse.de>
05bba0
05bba0
Add the necessary code to configure to handle AArch64 as a target
05bba0
CPU (we already have some code for supporting it as host). Note
05bba0
that this doesn't enable the AArch64 targets yet.
05bba0
05bba0
Signed-off-by: Alexander Graf <agraf@suse.de>
05bba0
Signed-off-by: John Rigby <john.rigby@linaro.org>
05bba0
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
05bba0
Message-id: 1378235544-22290-23-git-send-email-peter.maydell@linaro.org
05bba0
Message-id: 1368505980-17151-12-git-send-email-john.rigby@linaro.org
05bba0
[PMM:
05bba0
 * don't need to set TARGET_ABI_DIR to aarch64 as that is the default
05bba0
 * don't build nwfpe -- this is 32 bit legacy only
05bba0
 * rewrite commit message
05bba0
 * add aarch64 to the list of "fdt required" targets
05bba0
]
05bba0
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
05bba0
(cherry-picked from 6a49fa95c98cd155f7aaf48e5c6fa6bb6adea862)
05bba0
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
05bba0
05bba0
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
05bba0
---
05bba0
 configure | 7 ++++++-
05bba0
 1 file changed, 6 insertions(+), 1 deletion(-)
05bba0
05bba0
diff --git a/configure b/configure
05bba0
index 4f63345..7cc7725 100755
05bba0
--- a/configure
05bba0
+++ b/configure
05bba0
@@ -2650,7 +2650,7 @@ fi
05bba0
 fdt_required=no
05bba0
 for target in $target_list; do
05bba0
   case $target in
05bba0
-    arm*-softmmu|ppc*-softmmu|microblaze*-softmmu)
05bba0
+    aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu)
05bba0
       fdt_required=yes
05bba0
     ;;
05bba0
   esac
05bba0
@@ -4383,6 +4383,11 @@ case "$target_arch2" in
05bba0
     target_nptl="yes"
05bba0
     gdb_xml_files="arm-core.xml arm-vfp.xml arm-vfp3.xml arm-neon.xml"
05bba0
   ;;
05bba0
+  aarch64)
05bba0
+    TARGET_BASE_ARCH=arm
05bba0
+    bflt="yes"
05bba0
+    gdb_xml_files="aarch64-core.xml"
05bba0
+  ;;
05bba0
   cris)
05bba0
     target_nptl="yes"
05bba0
   ;;
05bba0
-- 
05bba0
1.8.3.1
05bba0