All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ref-manual: document KERNEL_SPLIT_MODULES variable
@ 2025-06-08 10:44 Dixit Parmar
  2025-06-10  8:55 ` [docs] " Antonin Godard
  2025-07-01  8:37 ` Antonin Godard
  0 siblings, 2 replies; 9+ messages in thread
From: Dixit Parmar @ 2025-06-08 10:44 UTC (permalink / raw)
  To: docs; +Cc: Dixit Parmar

This variable controls the kernel module spliting.

Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com>
---
 documentation/ref-manual/variables.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 9768d8f5b..b7dde2604 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -5359,6 +5359,20 @@ 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`
+      When inheriting the :ref:`ref-classes-kernel-module-split` class, this
+      variable controls whether kernel modules are split into separate packages
+      or bundled into a single package.
+
+      For some use cases, a monolithic kernel module package
+      :ref:`KERNEL_PACKAGE_NAME` (by default named ``kernel``) that contains
+      all modules built from the kernel sources may be preferred. Because a
+      monolithic package can reduce download time and speed up installation.
+
+      By default, this variable is set to ``1``, resulting in one package per
+      module. Setting it to any other value will generate a single monolithic
+      package containing all kernel modules.
+
    :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



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

end of thread, other threads:[~2025-07-01  8:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-08 10:44 [PATCH v2] ref-manual: document KERNEL_SPLIT_MODULES variable Dixit Parmar
2025-06-10  8:55 ` [docs] " Antonin Godard
2025-06-10  9:20   ` Antonin Godard
2025-06-18 12:14     ` Dixit Parmar
2025-06-18 12:59       ` [docs] " Antonin Godard
2025-06-18 13:19         ` Dixit Parmar
2025-06-18 13:42           ` [docs] " Antonin Godard
2025-06-21  6:48             ` Dixit Parmar
2025-07-01  8:37 ` 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.