diff mbox series

[03/19] ref-manual/variables.rst: document KMETA_CONFIG_FEATURES

Message ID 20250729-release-note-5-3-first-bunch-v1-3-058971e37c93@bootlin.com
State New
Headers show
Series Updates from Poky master | expand

Commit Message

Antonin Godard July 29, 2025, 9:56 a.m. UTC
The KMETA_CONFIG_FEATURES variable defines kernel-yocto features to
enable.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 documentation/ref-manual/variables.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff mbox series

Patch

diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 03839ac0a..1a4e8a254 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -5468,6 +5468,19 @@  system and gives an overview of their function and contents.
       Linux Kernel configuration auditing feature, see :term:`KCONF_AUDIT_LEVEL`
       and :term:`KCONF_BSP_AUDIT_LEVEL`.
 
+   :term:`KMETA_CONFIG_FEATURES`
+      The :term:`KMETA_CONFIG_FEATURES` variable defines features enabled for the
+      :ref:`ref-classes-kernel-yocto` class. The following list of features are
+      supported:
+
+      -  ``prefer-modules``: prefer a kernel configuration to be set as ``m``
+         instead of the default value ``y`` if the kernel configuration was
+         defined as follows::
+
+            CONFIG_FOO=y # OVERRIDE:$MODULE_OR_Y
+
+      The default value of this variable is an empty string.
+
    :term:`KTYPE`
       Defines the kernel type to be used in assembling the configuration.
       The linux-yocto recipes define "standard", "tiny", and "preempt-rt"