Ronald G. Minnich (rminnich@gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13724
-gerrit
commit b9388f5df39a1cd3d9fd3eb78b28565315bb134d Author: Ronald G. Minnich rminnich@gmail.com Date: Wed Feb 17 00:03:22 2016 +0000
power8: try to fix toolchain.inc for power8.
Change-Id: Ic249ee89d8683b9ecc020d1ec6934019ae5ae1b6 Signed-off-by: Ronald G. Minnich rminnich@gmail.com --- toolchain.inc | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/toolchain.inc b/toolchain.inc index 640c793..2289b78 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),\