From b43efa694e6ec08eb6594746f57b94cb014ca553 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Wed, 17 Feb 2016 00:03:22 +0000 Subject: power8: try to fix toolchain.inc for power8. Change-Id: Ic249ee89d8683b9ecc020d1ec6934019ae5ae1b6 Signed-off-by: Ronald G. Minnich Reviewed-on: https://review.coreboot.org/13724 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- toolchain.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'toolchain.inc') diff --git a/toolchain.inc b/toolchain.inc index 640c793901f4..2289b78b7300 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),\ -- cgit v1.2.3