All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ref-manual/variables.rst: document KERNEL_EXTRA_FEATURES
@ 2025-05-31 15:49 Alper Ak
  2025-06-02 11:36 ` [docs] " Quentin Schulz
  0 siblings, 1 reply; 6+ messages in thread
From: Alper Ak @ 2025-05-31 15:49 UTC (permalink / raw)
  To: docs; +Cc: Alper Ak

Fix [YOCTO #15751]

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
---
 documentation/ref-manual/variables.rst | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index c697bdbbb..2f0925b15 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -5202,6 +5202,24 @@ system and gives an overview of their function and contents.
       Specifies additional ``make`` command-line arguments the OpenEmbedded
       build system passes on when compiling the kernel.
 
+   :term:`KERNEL_EXTRA_FEATURES`
+      Specifies optional kernel features to be added on top of the base
+      configuration in kernel recipes that inherit the :ref:`ref-classes-kernel-yocto` class.
+
+      This variable complements :term:`KERNEL_FEATURES` by allowing layers
+      to include or override additional features without requiring Python code or
+      recipe finalize hooks.
+
+      Features are defined in ``.scc`` files, which serve as kernel :term:`Metadata` and usually include patches
+      and configuration fragments to be used during the kernel build process to modify the Linux kernel.
+      For example::
+
+         KERNEL_EXTRA_FEATURES = "features/netfilter/netfilter.scc"
+         KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}"
+
+      By default, :term:`KERNEL_EXTRA_FEATURES` is empty. But, some distributions
+      such as Poky may set a default value using a soft assignment (``?=``).
+
    :term:`KERNEL_FEATURES`
       Includes additional kernel metadata. In the OpenEmbedded build
       system, the default Board Support Packages (BSPs)
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-06-06  8:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-31 15:49 [PATCH] ref-manual/variables.rst: document KERNEL_EXTRA_FEATURES Alper Ak
2025-06-02 11:36 ` [docs] " Quentin Schulz
2025-06-02 15:41   ` Alper Ak
2025-06-04  7:46     ` Antonin Godard
2025-06-04  9:52       ` Alper Ak
2025-06-06  8:16         ` Antonin Godard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.