Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/35593 )
Change subject: soc/cavium/common/Makefile: Convert STACK_SIZE value to decimal ......................................................................
soc/cavium/common/Makefile: Convert STACK_SIZE value to decimal
STACK_SIZE value needs to be changed from hex to decimal, since -Wstack-usage doesn't recognize hexadecimal numbers anymore.
Change-Id: I73606d347194af5de5882a3387a4a5db17f9d94b Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/c/coreboot/+/35593 Reviewed-by: Angel Pons th3fanbus@gmail.com Reviewed-by: Patrick Georgi pgeorgi@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/soc/cavium/common/Makefile.inc 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, but someone else must approve Angel Pons: Looks good to me, approved
diff --git a/src/soc/cavium/common/Makefile.inc b/src/soc/cavium/common/Makefile.inc index 96e38c3..766c44d 100644 --- a/src/soc/cavium/common/Makefile.inc +++ b/src/soc/cavium/common/Makefile.inc @@ -17,7 +17,8 @@
subdirs-y += pci
-CFLAGS_arm64 += -Wstack-usage=$(CONFIG_STACK_SIZE) +# -Wstack-usage doesn't recognize hexadecimal numbers. +CFLAGS_arm64 += -Wstack-usage=$(shell printf "%d" $(CONFIG_STACK_SIZE))
bootblock-$(CONFIG_BOOTBLOCK_CUSTOM) += bootblock.c