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>
This commit is contained in:
parent
18452628b3
commit
b43efa694e
|
@ -57,6 +57,7 @@ ARCHDIR-arm := arm
|
||||||
ARCHDIR-arm64 := arm64
|
ARCHDIR-arm64 := arm64
|
||||||
ARCHDIR-riscv := riscv
|
ARCHDIR-riscv := riscv
|
||||||
ARCHDIR-mips := mips
|
ARCHDIR-mips := mips
|
||||||
|
ARCHDIR-power8 := power8
|
||||||
|
|
||||||
CFLAGS_arm +=
|
CFLAGS_arm +=
|
||||||
CFLAGS_arm64 += -mgeneral-regs-only
|
CFLAGS_arm64 += -mgeneral-regs-only
|
||||||
|
@ -64,6 +65,7 @@ CFLAGS_mips += -mips32r2 -G 0 -mno-abicalls -fno-pic
|
||||||
CFLAGS_riscv +=
|
CFLAGS_riscv +=
|
||||||
CFLAGS_x86_32 +=
|
CFLAGS_x86_32 +=
|
||||||
CFLAGS_x86_64 += -mcmodel=large -mno-red-zone
|
CFLAGS_x86_64 += -mcmodel=large -mno-red-zone
|
||||||
|
CFLAGS_power8 +=
|
||||||
|
|
||||||
# Some boards only provide 2K stacks, so storing lots of data there leads to
|
# 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
|
# 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_arm64 += -Wstack-usage=1536
|
||||||
CFLAGS_mips += -Wstack-usage=1536
|
CFLAGS_mips += -Wstack-usage=1536
|
||||||
CFLAGS_riscv += -Wstack-usage=1536
|
CFLAGS_riscv += -Wstack-usage=1536
|
||||||
|
CFLAGS_power8 += -Wstack-usage=1536
|
||||||
|
|
||||||
toolchain_to_dir = \
|
toolchain_to_dir = \
|
||||||
$(foreach arch,$(ARCH_SUPPORTED),\
|
$(foreach arch,$(ARCH_SUPPORTED),\
|
||||||
|
|
Loading…
Reference in New Issue