From d087c140a639d41eb87ddfd2d31aba31ff714d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Mon, 4 Aug 2025 06:05:10 +0000 Subject: [PATCH] PROVISORY: profiles: qca_ipq95xx: fix qca-nss-dscpstats build by enabling DYNAMIC_DEBUG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently qca-nss-dscpstats fails to build: CC [M] /builds/prpl-foundation/prplos/prplos/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/linux-ipq95xx_generic/qca-nss-dscpstats-35f8409213188c5f2d820740b4b74eddf8c7a379/nss_dscpstats.o In file included from /builds/prpl-foundation/prplos/prplos/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/linux-ipq95xx_generic/qca-nss-dscpstats-35f8409213188c5f2d820740b4b74eddf8c7a379/nss_dscpstats.c:21: /builds/prpl-foundation/prplos/prplos/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/linux-ipq95xx_generic/qca-nss-dscpstats-35f8409213188c5f2d820740b4b74eddf8c7a379/nss_dscpstats.h:35:6: error: "nss_dscpstats_DEBUG_LEVEL" is not defined, evaluates to 0 [-Werror=undef] 35 | #if (nss_dscpstats_DEBUG_LEVEL < 2) | ^~~~~~~~~~~~~~~~~~~~~~~~~ as the code depends on having DYNAMIC_DEBUG=y enabled and fails to build without it. So lets enable this kernel config option until the underlying issue is fixed. References: PCF-1966 Link: https://gitlab.com/prpl-foundation/prplos/prplos/-/jobs/10895303289#L8677 Signed-off-by: Petr Štetiar --- .gitlab/tests/cram/wnc-freedom/005-build-config.t | 1 + profiles/qca_ipq95xx.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitlab/tests/cram/wnc-freedom/005-build-config.t b/.gitlab/tests/cram/wnc-freedom/005-build-config.t index 7079862e61..1ecb6b068c 100644 --- a/.gitlab/tests/cram/wnc-freedom/005-build-config.t +++ b/.gitlab/tests/cram/wnc-freedom/005-build-config.t @@ -40,6 +40,7 @@ Assure expected build configuration (PCF-1413): CONFIG_KERNEL_CGROUP_DEVICE=y CONFIG_KERNEL_CGROUP_FREEZER=y CONFIG_KERNEL_CGROUP_PERF=y + CONFIG_KERNEL_DYNAMIC_DEBUG=y CONFIG_KERNEL_MEMCG_SWAP_ENABLED=y CONFIG_KERNEL_NET_CLS_CGROUP=y CONFIG_KERNEL_PERF_EVENTS=y diff --git a/profiles/qca_ipq95xx.yml b/profiles/qca_ipq95xx.yml index d0bc322797..5a9d60dd89 100644 --- a/profiles/qca_ipq95xx.yml +++ b/profiles/qca_ipq95xx.yml @@ -43,4 +43,5 @@ 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