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>
This commit is contained in:
Jeff Bailey
2014-05-24 23:59:22 -07:00
committed by Peter Korsgaard
parent 696668b09b
commit a426a91973
9 changed files with 79 additions and 17 deletions

View File

@@ -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

View File

@@ -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