Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/74540 )
Change subject: soc/cavium: Guard gcc specific compiler flag ......................................................................
soc/cavium: Guard gcc specific compiler flag
TEST: BUILD_TIMELESS=1 remains the same.
Change-Id: I740b59574303145fc673a97556367daefe8d1540 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/soc/cavium/common/Makefile.inc 1 file changed, 14 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/74540/1
diff --git a/src/soc/cavium/common/Makefile.inc b/src/soc/cavium/common/Makefile.inc index 3ca81e7..6fa2c31 100644 --- a/src/soc/cavium/common/Makefile.inc +++ b/src/soc/cavium/common/Makefile.inc @@ -5,7 +5,9 @@ subdirs-y += pci
# -Wstack-usage doesn't recognize hexadecimal numbers. +ifeq ($(CONFIG_COMPILER_GCC),y) CFLAGS_arm64 += -Wstack-usage=$(shell printf "%d" $(CONFIG_STACK_SIZE)) +endif
bootblock-$(CONFIG_BOOTBLOCK_CUSTOM) += bootblock.c