aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGravatar Cody P Schafer <cody@linux.vnet.ibm.com>2014-05-12 22:28:21 -0700
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-26 21:48:33 +0200
commit7e674dfa4f43c414c62a5aee387c1097c2ed21fe (patch)
tree3dedff4d44f2787c43458e12fed94bc29c1e9d18 /arch
parent32a471824bcc0fd11a535c01f9a2a96eefe1d25d (diff)
downloadbuildroot-7e674dfa4f43c414c62a5aee387c1097c2ed21fe.tar.gz
buildroot-7e674dfa4f43c414c62a5aee387c1097c2ed21fe.tar.bz2
powerpc: add powerpc64 and powerpc64le support
This enables powerpc64 and powerpc64le. Currently, le needs at least glibc 2.19 and gcc 4.9.0. For gdb, 7.7.1 works (added in an earlier patch). [Peter: also disallow gcc 4.8 for ppc64le] Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in13
-rw-r--r--arch/Config.in.powerpc3
2 files changed, 14 insertions, 2 deletions
diff --git a/arch/Config.in b/arch/Config.in
index 2114dd8423..1f60f81e4b 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -140,6 +140,16 @@ config BR2_powerpc
bool "PowerPC"
help
PowerPC is a RISC architecture created by Apple-IBM-Motorola alliance.
+ Big endian.
+ http://www.power.org/
+ http://en.wikipedia.org/wiki/Powerpc
+
+config BR2_powerpc64
+ bool "PowerPC64 (big endian)"
+ select BR2_ARCH_IS_64
+ help
+ PowerPC is a RISC architecture created by Apple-IBM-Motorola alliance.
+ Big endian.
http://www.power.org/
http://en.wikipedia.org/wiki/Powerpc
@@ -148,6 +158,7 @@ config BR2_powerpc64le
select BR2_ARCH_IS_64
help
PowerPC is a RISC architecture created by Apple-IBM-Motorola alliance.
+ Little endian.
http://www.power.org/
http://en.wikipedia.org/wiki/Powerpc
@@ -329,7 +340,7 @@ if BR2_nios2
source "arch/Config.in.nios2"
endif
-if BR2_powerpc || BR2_powerpc64le
+if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
source "arch/Config.in.powerpc"
endif
diff --git a/arch/Config.in.powerpc b/arch/Config.in.powerpc
index c8a21b5fcf..e444cb8e26 100644
--- a/arch/Config.in.powerpc
+++ b/arch/Config.in.powerpc
@@ -150,10 +150,11 @@ config BR2_POWERPC_SOFT_FLOAT
config BR2_ARCH
default "powerpc" if BR2_powerpc
+ default "powerpc64" if BR2_powerpc64
default "powerpc64le" if BR2_powerpc64le
config BR2_ENDIAN
- default "BIG" if BR2_powerpc
+ default "BIG" if BR2_powerpc || BR2_powerpc64
default "LITTLE" if BR2_powerpc64le
config BR2_GCC_TARGET_TUNE