diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2015-12-02 20:24:15 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2015-12-03 18:35:35 +0100 |
commit | b135baa0dbcd8a3f1a1fa0a156c17406149bd8d9 (patch) | |
tree | 8446bc6ad3a226e64f676ff555d2c4630d6322a7 | |
parent | 86933f89c435268db6fb1d9247283c42a862ebc9 (diff) | |
download | coreboot-b135baa0dbcd8a3f1a1fa0a156c17406149bd8d9.tar.xz |
add support for power8 to xcompile script
power8 is set up by ibm as a powerpc subset, so we follow
that rule here: we call it a powerpc but require -mcpu=power8
Change-Id: Ib5212be22db9584b0dc0eeed5c06ec1924347067
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: https://review.coreboot.org/12624
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rwxr-xr-x | util/xcompile/xcompile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 4b9858099b..7f44df64f2 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -231,7 +231,7 @@ EOF } # Architecture definitions -SUPPORTED_ARCHITECTURES="arm arm64 mipsel riscv x64 x86" +SUPPORTED_ARCHITECTURES="arm arm64 mipsel riscv x64 x86 power8" arch_config_arm() { TARCH="arm" @@ -286,6 +286,16 @@ arch_config_mipsel() { TENDIAN="EL" } +arch_config_power8() { + TARCH="powerpc" + TBFDARCHS="powerpc" + TCLIST="powerpc" + TWIDTH="64" + TSUPP="power8" + TABI="elf" + CC_RT_EXTRA_GCC="-mcpu=power8" +} + test_architecture() { local architecture=$1 local endian gccprefix search |