[PATCH] arm-bsp/linux-yocto: disable kconfig checking for sbsa-ref and sgi575
Ross Burton <[email protected]> Thu, 15 Jan 2026 14:50:56 +0000
| Newsgroups | org.yoctoproject.lists.meta-arm |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>
---
meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc | 4 ++++
1 file changed, 4 insertions(+)
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"
--
2.43.0