PROVISORY: profiles: qca_ipq95xx: fix qca-nss-dscpstats build by enabling DYNAMIC_DEBUG

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 <petr.stetiar@prplfoundation.org>
This commit is contained in:
Petr Štetiar 2025-08-04 06:05:10 +00:00
parent e8ec5b7204
commit d087c140a6
No known key found for this signature in database
GPG Key ID: 58EE120F30CC02D3
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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