thirdparty/bnxt: set -Wframe-larger-than=2144 in Makefile

To fix compile error when building debug kernel:
bnxt/tfc_v3/tfc_tbl_scope.c: In function 'tfc_tbl_scope_mem_alloc':
bnxt/tfc_v3/tfc_tbl_scope.c:1185:1: error: the frame size of 2144 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
Reviewed-by: Yongliang Gao <leonylgao@tencent.com>
This commit is contained in:
Jianping Liu 2024-07-16 15:20:05 +08:00
parent a61b032d57
commit 3a5b595eca
1 changed files with 1 additions and 0 deletions

View File

@ -1417,6 +1417,7 @@ define bnxt_ver
endef endef
cflags-y += $(EXTRA_CFLAGS) cflags-y += $(EXTRA_CFLAGS)
KBUILD_CFLAGS += -Wframe-larger-than=2144
src=$(BNXT_SRC) src=$(BNXT_SRC)
ccflags-y := -I$(src)/ ccflags-y := -I$(src)/
ccflags-y += -I$(src)/tf_core/ ccflags-y += -I$(src)/tf_core/