From 9e6c4bafe8ea975cef5af8eed2b2ffc01f47a118 Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Tue, 29 Jul 2025 11:56:37 +0200 Subject: [PATCH] ref-manual/variables.rst: document KMETA_CONFIG_FEATURES The KMETA_CONFIG_FEATURES variable defines kernel-yocto features to enable. (From yocto-docs rev: 1a9f68b875a78c1c7681ed300111399de97631e6) Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/ref-manual/variables.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 03839ac0ad..1a4e8a2548 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"