diff mbox series

arm-bsp/linux-yocto: disable kconfig checking for sbsa-ref and sgi575

Message ID 20260115145056.3069017-1-ross.burton@arm.com
State New
Headers show
Series arm-bsp/linux-yocto: disable kconfig checking for sbsa-ref and sgi575 | expand

Commit Message

Ross Burton Jan. 15, 2026, 2:50 p.m. UTC
The linux-yocto kernel has strict configuration warnings enabled and this
often causes warning, for example with 6.18.3:

[INFO]: the following symbols were not found in the active configuration:
     - CONFIG_SND_SOC_ROCKCHIP
     - CONFIG_SLIM_QCOM_CTRL

For these machines we're using the upstream defconfig and not a config
file that we're maintaining, so fixing these problems upstream is slower
than one would like.

As we don't maintain the config, we can disable the checker for these
two machines. This is _not_ precedence for disabling the audit for any
machines where we're not simply using the upstream defconfig without any
changes.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Jon Mason Jan. 15, 2026, 8:45 p.m. UTC | #1
On Thu, 15 Jan 2026 14:50:56 +0000, Ross Burton wrote:
> The linux-yocto kernel has strict configuration warnings enabled and this
> often causes warning, for example with 6.18.3:
> 
> [INFO]: the following symbols were not found in the active configuration:
>      - CONFIG_SND_SOC_ROCKCHIP
>      - CONFIG_SLIM_QCOM_CTRL
> 
> [...]

Applied, thanks!

[1/1] arm-bsp/linux-yocto: disable kconfig checking for sbsa-ref and sgi575
      commit: 6aef0d46a99a7239caa84d135ca6c3f1bb9f4635

Best regards,
diff mbox series

Patch

diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc
index ff19169efe..cdfa3d358e 100644
--- a/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc
@@ -107,6 +107,8 @@  COMPATIBLE_MACHINE:musca-s1 = "(^$)"
 COMPATIBLE_MACHINE:sgi575 = "sgi575"
 KBUILD_DEFCONFIG:sgi575 = "defconfig"
 KCONFIG_MODE:sgi575 = "--alldefconfig"
+# Upstream defconfig often causes warnings but we don't maintain it
+KCONF_BSP_AUDIT_LEVEL:sgi575 = "0"
 
 #
 # sbsa-ref KMACHINE
@@ -114,3 +116,5 @@  KCONFIG_MODE:sgi575 = "--alldefconfig"
 COMPATIBLE_MACHINE:sbsa-ref = "sbsa-ref"
 KBUILD_DEFCONFIG:sbsa-ref = "defconfig"
 KCONFIG_MODE:sbsa-ref = "--alldefconfig"
+# Upstream defconfig often causes warnings but we don't maintain it
+KCONF_BSP_AUDIT_LEVEL:sbsa-ref = "0"