summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody P Schafer <dev@codyps.com>2014-05-11 22:02:13 (GMT)
committerCody P Schafer <dev@codyps.com>2014-05-11 22:02:13 (GMT)
commitaaaea2987a55b796b3f640194249d24a2023f72e (patch)
tree097f7190188dc8798bac168da28628f7a7bdca7d
parent12e18755579acff969b032b67dba3a53d6708f40 (diff)
arch/powerpc: add powerpc64le support
Technically, I don't forbid powerpcle support either, but I'm not sure that there is any library/compiler support for that at the moment (though the hw technically makes it possible). powerpc64le needs glibc 2.19 and gcc 4.9. I haven't looked into the support tools, but at least gdb 7.5 is too old (7.7.1 definitely has support). Also make powerpc64 non-experimental. It's practically old at this point. Signed-off-by: Cody P Schafer <dev@codyps.com> [yann.morin.1998@free.fr: use ${target_endian_le} and ${target_bits_64}] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <64bfbbced9dd8f62e0d6.1399801945@gun> Patchwork-Id: 347775
-rw-r--r--config/arch/powerpc.in4
-rw-r--r--scripts/build/arch/powerpc.sh6
2 files changed, 5 insertions, 5 deletions
diff --git a/config/arch/powerpc.in b/config/arch/powerpc.in
index 3218543..6dfc742 100644
--- a/config/arch/powerpc.in
+++ b/config/arch/powerpc.in
@@ -1,8 +1,10 @@
# powerpc specific configuration file
## select ARCH_SUPPORTS_32
-## select ARCH_SUPPORTS_64 if EXPERIMENTAL
+## select ARCH_SUPPORTS_64
## select ARCH_DEFAULT_32
+## select ARCH_SUPPORTS_BOTH_ENDIAN
+## select ARCH_DEFAULT_BE
## select ARCH_USE_MMU
## select ARCH_SUPPORTS_WITH_ABI
## select ARCH_SUPPORTS_WITH_CPU
diff --git a/scripts/build/arch/powerpc.sh b/scripts/build/arch/powerpc.sh
index e5ad335..fbc3120 100644
--- a/scripts/build/arch/powerpc.sh
+++ b/scripts/build/arch/powerpc.sh
@@ -1,10 +1,8 @@
# Compute powerpc-specific values
CT_DoArchTupleValues () {
- # The architecture part of the tuple, override only for 64-bit
- if [ "${CT_ARCH_64}" = "y" ]; then
- CT_TARGET_ARCH="powerpc64${CT_ARCH_SUFFIX}"
- fi
+ # The architecture part of the tuple
+ CT_TARGET_ARCH="powerpc${target_bits_64}${target_endian_le}${CT_ARCH_SUFFIX}"
# Only override values when ABI is not the default
case "${CT_ARCH_powerpc_ABI}" in