diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/cavium/common/Makefile.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/cavium/common/Makefile.inc b/src/soc/cavium/common/Makefile.inc index 3ca81e7896..6fa2c31fb1 100644 --- a/src/soc/cavium/common/Makefile.inc +++ b/src/soc/cavium/common/Makefile.inc @@ -5,7 +5,9 @@ ifeq ($(CONFIG_SOC_CAVIUM_COMMON),y) 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 |