summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorDixit Parmar <dixitparmar19@gmail.com>2025-06-21 12:44:34 +0530
committerSteve Sakoman <steve@sakoman.com>2025-07-04 07:50:17 -0700
commitaa5d1bfd235f8d932348526c71eae9f1a71c11d4 (patch)
tree0e6047af9158c8bcbfe85bdb7a7914b23e555664 /documentation
parenteed129272d734d753fda4eb143cb8402389d5891 (diff)
downloadpoky-aa5d1bfd235f8d932348526c71eae9f1a71c11d4.tar.gz
ref-manual: document KERNEL_SPLIT_MODULES variable
This variable controls the kernel module spliting. [YOCTO #15771] (From yocto-docs rev: 85f8e5c799ef38c6dcca615d7cc6baff325df259) Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 198179d9c6231b5934d4fb6ede716d1dcb1442bb) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/variables.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index e6be196948..21e4bca200 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -5334,6 +5334,27 @@ system and gives an overview of their function and contents.
5334 the :term:`KERNEL_PATH` variable. Both variables are common variables 5334 the :term:`KERNEL_PATH` variable. Both variables are common variables
5335 used by external Makefiles to point to the kernel source directory. 5335 used by external Makefiles to point to the kernel source directory.
5336 5336
5337 :term:`KERNEL_SPLIT_MODULES`
5338 When inheriting the :ref:`ref-classes-kernel-module-split` class, this
5339 variable controls whether kernel modules are split into separate packages
5340 or bundled into a single package.
5341
5342 For some use cases, a monolithic kernel module package
5343 :term:`KERNEL_PACKAGE_NAME` that contains all modules built from the
5344 kernel sources may be preferred to speed up the installation.
5345
5346 By default, this variable is set to ``1``, resulting in one package per
5347 module. Setting it to any other value will generate a single monolithic
5348 package containing all kernel modules.
5349
5350 .. note::
5351
5352 If :term:`KERNEL_SPLIT_MODULES` is set to 0, it is still possible to
5353 install all kernel modules at once by adding ``kernel-modules`` (assuming
5354 :term:`KERNEL_PACKAGE_NAME` is ``kernel-modules``) to :term:`IMAGE_INSTALL`.
5355 The way it works is that a placeholder "kernel-modules" package will be
5356 created and will depend on every other individual kernel module packages.
5357
5337 :term:`KERNEL_SRC` 5358 :term:`KERNEL_SRC`
5338 The location of the kernel sources. This variable is set to the value 5359 The location of the kernel sources. This variable is set to the value
5339 of the :term:`STAGING_KERNEL_DIR` within the :ref:`ref-classes-module` 5360 of the :term:`STAGING_KERNEL_DIR` within the :ref:`ref-classes-module`