summaryrefslogtreecommitdiff
path: root/util/xcompile
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2016-03-09 17:20:26 -0600
committerTimothy Pearson <tpearson@raptorengineeringinc.com>2016-04-04 20:16:37 +0200
commit82657cad24416441688c2e449dbbe13471e3b280 (patch)
tree41173947a008b942fdda6513d7db3569cdf58d2d /util/xcompile
parent87eacacb35ee45128a6aac61fb657e6f2e374f09 (diff)
downloadcoreboot-82657cad24416441688c2e449dbbe13471e3b280.tar.gz
crossgcc: Fix compiler detect for POWER8 big endian mode switch.
Change-Id: I7afb35fd5bc971a2c4d63e3a084ce7473f7a66fa Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-on: https://review.coreboot.org/14018 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/xcompile')
-rwxr-xr-xutil/xcompile/xcompile9
1 files changed, 5 insertions, 4 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 53f0a85228..2b9b8189a9 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 (C) 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() {