Skip to contentSkip to conversation

ref-manual: document KERNEL_SPLIT_MODULES variable

PATCH In review Dixit Parmar 2 participants 2 messages Jun 5, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: document KERNEL_SPLIT_MODULES variable

This variable controls the kernel module spliting.

---
 documentation/ref-manual/variables.rst | 9 +++++++++
 1 file changed, 9 insertions(+)
documentation/ref-manual/variables.rst +9 -0
index 9768d8f5b..592401eb6 100644
@@ -5359,6 +5359,15 @@ system and gives an overview of their function and contents.
       the :term:`KERNEL_PATH` variable. Both variables are common variables
       used by external Makefiles to point to the kernel source directory.
 
+   :term:`KERNEL_SPLIT_MODULES`
+      Allow opt-out of split kernel modules. For some use cases, a monolithic
+      kernel-modules package containing all modules built from the kernel
+      sources may be preferred. For one, download time is shorter and
+      installation time is faster.
+      Default set to 1, one subpackage per module. Setting it 0 will generate
+      a monolithic kernel-modules package containing all modules built from
+      the source.
+
    :term:`KERNEL_SRC`
       The location of the kernel sources. This variable is set to the value
       of the :term:`STAGING_KERNEL_DIR` within the :ref:`ref-classes-module`
Signature · 1 line
2.43.0
#1 lore raw
Quoted 12 lines · Dixit Parmar via lists.yoctoproject.org

This variable controls the kernel module spliting.

---
 documentation/ref-manual/variables.rst | 9 +++++++++
 1 file changed, 9 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index 9768d8f5b..592401eb6 100644

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 5367

Quoted 9 lines
documentation/ref-manual/variables.rst +6 -0
@@ -5359,6 +5359,15 @@ system and gives an overview of their function and contents.
       the :term:`KERNEL_PATH` variable. Both variables are common variables
       used by external Makefiles to point to the kernel source directory.
 
+   :term:`KERNEL_SPLIT_MODULES`
+      Allow opt-out of split kernel modules. For some use cases, a monolithic
+      kernel-modules package containing all modules built from the kernel
+      sources may be preferred. For one, download time is shorter and
+      installation time is faster.
+      Default set to 1, one subpackage per module. Setting it 0 will generate
                                                                ^to
Quoted 10 lines
documentation/ref-manual/variables.rst +3 -1
+      a monolithic kernel-modules package containing all modules built from
+      the source.
+
    :term:`KERNEL_SRC`
       The location of the kernel sources. This variable is set to the value
       of the :term:`STAGING_KERNEL_DIR` within the :ref:`ref-classes-module`
--

2.43.0