From aa52f6d01d7480e52256daaa5a4201f814bcdacf Mon Sep 17 00:00:00 2001 From: Marvin Lu Date: Wed, 17 Dec 2025 10:49:34 +0800 Subject: [PATCH] profiles: qca_ipq95xx: Fix compilation issues when CONFIG_DYNAMIC_DEBUG is disabled When CONFIG_KERNEL_DYNAMIC_DEBUG is disabled in the build configuration, several nss packages fail to compile due to unused variable warnings being treated as errors. This commit applies patches to fix compilation issues in the following packages from feed-qca: - qca-nss-ppe - qca-nss-gre-mgr - qca-nss-ppe-clients - qca-nss-dscpstats The patches mark debug-only variables with __maybe_unused attribute and add missing header includes, allowing these packages to compile successfully regardless of the CONFIG_DYNAMIC_DEBUG setting. CONFIG_KERNEL_DYNAMIC_DEBUG is also removed from the build configuration . Closes: PCF-2135 Closes: PCF-2136 Closes: PCF-2137 Closes: PCF-2138 Signed-off-by: Marvin Lu --- profiles/qca_ipq95xx.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/profiles/qca_ipq95xx.yml b/profiles/qca_ipq95xx.yml index bff695dc0e..1dab09d3fd 100644 --- a/profiles/qca_ipq95xx.yml +++ b/profiles/qca_ipq95xx.yml @@ -8,7 +8,7 @@ description: Build image for prpl Foundation Freedom board feeds: - name: feed_qca uri: https://gitlab.com/prpl-foundation/prplOS/feed-qca.git - revision: dev/ath13.1-freedom@dbfb4f94f59cbc42defe9f665db218084d3d70f2 + revision: dev/ath13.1-freedom@0d3820f29ac5840d019badaceb6811c6f6c0967f packages: - ipq95xx @@ -48,7 +48,6 @@ diffconfig: | CONFIG_BUSYBOX_CUSTOM=y CONFIG_BUSYBOX_CONFIG_I2CSET=y CONFIG_PACKAGE_ATH_DEBUG=y - CONFIG_KERNEL_DYNAMIC_DEBUG=y # CONFIG_PACKAGE_wififw_mount_script is not set # CONFIG_KERNEL_SWAP is not set CONFIG_PACKAGE_ppecfg=y