[coreboot-gerrit] New patch to review for coreboot: crosgcc: Switch POWER8 to big endian mode and fix compiler detect
Timothy Pearson (tpearson@raptorengineeringinc.com)
gerrit at coreboot.org
Thu Mar 10 00:22:47 CET 2016
Timothy Pearson (tpearson at raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14018
-gerrit
commit bba61bff040b6f010fda58caf35c9c66834b2404
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date: Wed Mar 9 17:20:26 2016 -0600
crosgcc: Switch POWER8 to big endian mode and fix compiler detect
Change-Id: I7afb35fd5bc971a2c4d63e3a084ce7473f7a66fa
Signed-off-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
---
util/crossgcc/Makefile | 2 +-
util/xcompile/xcompile | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index 917301c..24fe942 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -64,7 +64,7 @@ build-riscv:
@$(MAKE) build_gcc BUILD_PLATFORM=riscv-elf
build-power8:
- @$(MAKE) build_tools BUILD_PLATFORM=powerpc64le-linux-gnu
+ @$(MAKE) build_tools BUILD_PLATFORM=powerpc64-linux-gnu
build-nds32le:
@$(MAKE) build_tools BUILD_PLATFORM=nds32le-elf
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 53f0a85..79b3b88 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -4,6 +4,7 @@
#
# Copyright (C) 2007-2010 coresystems GmbH
# Copyright (C) 2012 Google Inc
+# Copyright 2016 Raptor Engineering, LLC
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -367,12 +368,12 @@ arch_config_mipsel() {
arch_config_power8() {
TARCH="power8"
- TBFDARCHS="powerpcle"
- TCLIST="powerpc64 powerpc64le"
+ TBFDARCHS="powerpc"
+ TCLIST="powerpc64"
TWIDTH="64"
TSUPP="power8"
- TABI="linux" # there is no generic ABI on ppc64
- CC_RT_EXTRA_GCC="-mcpu=power8 -mlittle-endian"
+ TABI="linux-gnu" # there is no generic ABI on ppc64
+ CC_RT_EXTRA_GCC="-mcpu=power8 -mbig-endian"
}
test_architecture() {
More information about the coreboot-gerrit
mailing list