summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2016-02-17 00:03:22 +0000
committerRonald G. Minnich <rminnich@gmail.com>2016-02-17 23:43:38 +0100
commitb43efa694e6ec08eb6594746f57b94cb014ca553 (patch)
tree35c15b19c1e910ab02e9d1d820d06835548c2124
parent18452628b3c84f6bb8e58fb30dbee2bd14bf2873 (diff)
power8: try to fix toolchain.inc for power8.
Change-Id: Ic249ee89d8683b9ecc020d1ec6934019ae5ae1b6 Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-on: https://review.coreboot.org/13724 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--toolchain.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain.inc b/toolchain.inc
index 640c793901..2289b78b73 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -57,6 +57,7 @@ ARCHDIR-arm := arm
ARCHDIR-arm64 := arm64
ARCHDIR-riscv := riscv
ARCHDIR-mips := mips
+ARCHDIR-power8 := power8
CFLAGS_arm +=
CFLAGS_arm64 += -mgeneral-regs-only
@@ -64,6 +65,7 @@ CFLAGS_mips += -mips32r2 -G 0 -mno-abicalls -fno-pic
CFLAGS_riscv +=
CFLAGS_x86_32 +=
CFLAGS_x86_64 += -mcmodel=large -mno-red-zone
+CFLAGS_power8 +=
# Some boards only provide 2K stacks, so storing lots of data there leads to
# problems. Since C rules don't allow us to statically determine the maximum
@@ -82,6 +84,7 @@ CFLAGS_arm += -Wstack-usage=1536
CFLAGS_arm64 += -Wstack-usage=1536
CFLAGS_mips += -Wstack-usage=1536
CFLAGS_riscv += -Wstack-usage=1536
+CFLAGS_power8 += -Wstack-usage=1536
toolchain_to_dir = \
$(foreach arch,$(ARCH_SUPPORTED),\