[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH Risu 3/5] configure: Add initial support to PPC64 (b
From: |
Jose Ricardo Ziviani |
Subject: |
[Qemu-devel] [PATCH Risu 3/5] configure: Add initial support to PPC64 (big endian) |
Date: |
Mon, 27 Feb 2017 16:41:30 -0300 |
This commit set Makefile to point to ppc64le source for both archs
(ppc64 and ppc64le) because they do the exact same thing. The
difference is in risugen and how the binary is build.
Signed-off-by: Jose Ricardo Ziviani <address@hidden>
---
configure | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/configure b/configure
index 1fbc27c..5a91f57 100755
--- a/configure
+++ b/configure
@@ -38,11 +38,7 @@ guess_arch() {
elif check_define __aarch64__ ; then
ARCH="aarch64"
elif check_define __powerpc64__ ; then
- if check_define __BIG_ENDIAN__; then
- ARCH="ppc64"
- else
- ARCH="ppc64le"
- fi
+ ARCH="ppc64le"
else
echo "This cpu is not supported by risu. Try -h. " >&2
exit 1
@@ -114,6 +110,9 @@ OBJDUMP="${OBJDUMP-${CROSS_PREFIX}objdump}"
if test "x${ARCH}" = "x"; then
guess_arch
+elif test "x${ARCH}" = "xppc64"; then
+ # ppc64 and ppc64le uses the same C source code
+ ARCH="ppc64le"
fi
generate_makefilein
--
2.7.4
- [Qemu-devel] [PATCH Risu 0/5] PPC64 Improvements, Jose Ricardo Ziviani, 2017/02/27
- [Qemu-devel] [PATCH Risu 1/5] risugen_ppc64: Load random 128-bit data to VSX registers, Jose Ricardo Ziviani, 2017/02/27
- [Qemu-devel] [PATCH Risu 3/5] configure: Add initial support to PPC64 (big endian),
Jose Ricardo Ziviani <=
- [Qemu-devel] [PATCH Risu 2/5] risu_reginfo_ppc64le: Remove unused code from PPC64 register comparison, Jose Ricardo Ziviani, 2017/02/27
- [Qemu-devel] [PATCH Risu 4/5] risugen, risugen_ppc64.pm: Add support ppc64 (big-endian), Jose Ricardo Ziviani, 2017/02/27
- [Qemu-devel] [PATCH Risu 5/5] risugen_ppc64: Remove unused code, Jose Ricardo Ziviani, 2017/02/27