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:
parent
a61b032d57
commit
3a5b595eca
|
@ -1417,6 +1417,7 @@ define bnxt_ver
|
|||
endef
|
||||
|
||||
cflags-y += $(EXTRA_CFLAGS)
|
||||
KBUILD_CFLAGS += -Wframe-larger-than=2144
|
||||
src=$(BNXT_SRC)
|
||||
ccflags-y := -I$(src)/
|
||||
ccflags-y += -I$(src)/tf_core/
|
||||
|
|
Loading…
Reference in New Issue