mirror of
https://github.com/qosmio/nss-packages.git
synced 2025-12-16 16:21:53 +00:00
nss-drv: Restore '-Wno-unused-variable' flag
It was accidentally removed in commit: de828e39b
("treewide: Additional fixes for kernel 6.12 + GCC 14.3")
Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
parent
de828e39b2
commit
6b2d99511c
@ -135,7 +135,7 @@ endef
|
||||
EXTRA_CFLAGS+= -I$(STAGING_DIR)/usr/include/qca-nss-dp \
|
||||
-I$(STAGING_DIR)/usr/include/qca-ssdk \
|
||||
-Wno-missing-declarations -Wno-missing-prototypes \
|
||||
-Wno-empty-body
|
||||
-Wno-empty-body -Wno-unused-variable
|
||||
|
||||
ifdef CONFIG_NSS_MEM_PROFILE_MEDIUM
|
||||
EXTRA_CFLAGS += -DNSS_MEM_PROFILE_MEDIUM
|
||||
@ -149,8 +149,6 @@ endif
|
||||
|
||||
DRV_MAKE_OPTS:=
|
||||
|
||||
DRV_MAKE_OPTS += NSS_DEBUG_LEVEL=2
|
||||
|
||||
ifndef CONFIG_NSS_DRV_BRIDGE_ENABLE
|
||||
DRV_MAKE_OPTS += NSS_DRV_BRIDGE_ENABLE=n
|
||||
endif
|
||||
|
||||
@ -40,17 +40,6 @@
|
||||
static int max_ipv4_conn = NSS_DEFAULT_NUM_CONN;
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -543,7 +543,9 @@ endif
|
||||
ccflags-y += -I$(obj)/nss_hal/ipq50xx -DNSS_HAL_IPQ50XX_SUPPORT -DNSS_MULTI_H2N_DATA_RING_SUPPORT
|
||||
endif
|
||||
|
||||
-ccflags-y += -I$(obj)/nss_hal/include -I$(obj)/nss_data_plane/include -I$(obj)/exports -DNSS_DEBUG_LEVEL=0 -DNSS_PKT_STATS_ENABLED=1
|
||||
+NSS_DEBUG_LEVEL ?= 2
|
||||
+
|
||||
+ccflags-y += -I$(obj)/nss_hal/include -I$(obj)/nss_data_plane/include -I$(obj)/exports -DNSS_DEBUG_LEVEL=$(NSS_DEBUG_LEVEL) -DNSS_PKT_STATS_ENABLED=1
|
||||
|
||||
ccflags-y += -I$(obj)/nss_data_plane/hal/include
|
||||
ccflags-y += -DNSS_PM_DEBUG_LEVEL=0 -DNSS_SKB_REUSE_SUPPORT=1
|
||||
@@ -579,6 +581,8 @@ qca-nss-drv-objs += \
|
||||
ccflags-y += -DNSS_FREQ_SCALE_SUPPORT=1
|
||||
endif
|
||||
|
||||
@ -39,17 +39,6 @@
|
||||
static int max_ipv4_conn = NSS_DEFAULT_NUM_CONN;
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -594,7 +594,9 @@ endif
|
||||
ccflags-y += -I$(obj)/nss_hal/ipq50xx -DNSS_HAL_IPQ50XX_SUPPORT -DNSS_MULTI_H2N_DATA_RING_SUPPORT
|
||||
endif
|
||||
|
||||
-ccflags-y += -I$(obj)/nss_hal/include -I$(obj)/nss_data_plane/include -I$(obj)/exports -DNSS_DEBUG_LEVEL=0 -DNSS_PKT_STATS_ENABLED=1
|
||||
+NSS_DEBUG_LEVEL ?= 2
|
||||
+
|
||||
+ccflags-y += -I$(obj)/nss_hal/include -I$(obj)/nss_data_plane/include -I$(obj)/exports -DNSS_DEBUG_LEVEL=$(NSS_DEBUG_LEVEL) -DNSS_PKT_STATS_ENABLED=1
|
||||
|
||||
ccflags-y += -I$(obj)/nss_data_plane/hal/include
|
||||
ccflags-y += -DNSS_PM_DEBUG_LEVEL=0 -DNSS_SKB_REUSE_SUPPORT=1
|
||||
@@ -630,6 +632,8 @@ qca-nss-drv-objs += \
|
||||
ccflags-y += -DNSS_FREQ_SCALE_SUPPORT=1
|
||||
endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user