aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGravatar Jeff Bailey <jeffbailey@google.com>2014-05-24 23:59:22 -0700
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-25 23:24:09 +0200
commita426a91973c03ea99bb49bace8141de2d1ab25d8 (patch)
tree3597d8779ef91a9dafeee40a0dfd177547fb8652 /arch
parent696668b09b37c6a4db110880d519132a3da0fba5 (diff)
downloadbuildroot-a426a91973c03ea99bb49bace8141de2d1ab25d8.tar.gz
buildroot-a426a91973c03ea99bb49bace8141de2d1ab25d8.tar.bz2
Add support for powerpc64le
This patch adds support for powerpc64le-linux-gnu. This includes needed patches to fakeroot and gmp. gmp patch is from upstream HG tree. fakeroot patch is from Ubuntu written by Adam Conrad. Signed-off-by: Jeff Bailey <jeffbailey@google.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in10
-rw-r--r--arch/Config.in.powerpc8
2 files changed, 14 insertions, 4 deletions
diff --git a/arch/Config.in b/arch/Config.in
index bc81dac7a9..2114dd8423 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -143,6 +143,14 @@ config BR2_powerpc
http://www.power.org/
http://en.wikipedia.org/wiki/Powerpc
+config BR2_powerpc64le
+ bool "PowerPC64 (little endian)"
+ select BR2_ARCH_IS_64
+ help
+ PowerPC is a RISC architecture created by Apple-IBM-Motorola alliance.
+ http://www.power.org/
+ http://en.wikipedia.org/wiki/Powerpc
+
config BR2_sh
bool "SuperH"
help
@@ -321,7 +329,7 @@ if BR2_nios2
source "arch/Config.in.nios2"
endif
-if BR2_powerpc
+if BR2_powerpc || BR2_powerpc64le
source "arch/Config.in.powerpc"
endif
diff --git a/arch/Config.in.powerpc b/arch/Config.in.powerpc
index ae70a8aa80..5f9f473e4f 100644
--- a/arch/Config.in.powerpc
+++ b/arch/Config.in.powerpc
@@ -1,6 +1,6 @@
choice
prompt "Target Architecture Variant"
- depends on BR2_powerpc
+ depends on BR2_powerpc || BR2_powerpc64le
default BR2_generic_powerpc
help
Specific CPU variant to use
@@ -74,7 +74,7 @@ endchoice
choice
prompt "Target ABI"
- depends on BR2_powerpc
+ depends on BR2_powerpc || BR2_powerpc64le
default BR2_powerpc_SPE if BR2_powerpc_8540 || BR2_powerpc_8548
default BR2_powerpc_CLASSIC
help
@@ -99,9 +99,11 @@ config BR2_POWERPC_SOFT_FLOAT
config BR2_ARCH
default "powerpc" if BR2_powerpc
+ default "powerpc64le" if BR2_powerpc64le
config BR2_ENDIAN
- default "BIG"
+ default "BIG" if BR2_powerpc
+ default "LITTLE" if BR2_powerpc64le
config BR2_GCC_TARGET_TUNE
default "401" if BR2_powerpc_401