summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/xcompile/xcompile12
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