diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-09-25 08:47:43 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-10-04 16:27:36 +0000 |
commit | f2e1d0ae9a5f0a96c0a9029c9fd93020216bfe66 (patch) | |
tree | ec5dcf4aace10d2a38fda04389f50091921ebd65 /src | |
parent | 496fedfa2abcd1399e203e26565eb19dc3257778 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/cavium/common/Makefile.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/cavium/common/Makefile.inc b/src/soc/cavium/common/Makefile.inc index 96e38c3b0c..766c44db63 100644 --- a/src/soc/cavium/common/Makefile.inc +++ b/src/soc/cavium/common/Makefile.inc @@ -17,7 +17,8 @@ ifeq ($(CONFIG_SOC_CAVIUM_COMMON),y) 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 |