diff options
author | Dixit Parmar <dixitparmar19@gmail.com> | 2025-06-21 12:44:34 +0530 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-07-07 07:42:58 -0700 |
commit | 7bb9c2255b3aed8441fba1133f350b223a3b6379 (patch) | |
tree | 654e28007c054113e7b596c8dc9b50675cc991e6 /documentation | |
parent | 21c19ed0f876409416f26bad7f5c140bf780c5a3 (diff) | |
download | poky-7bb9c2255b3aed8441fba1133f350b223a3b6379.tar.gz |
ref-manual: document KERNEL_SPLIT_MODULES variable
This variable controls the kernel module spliting.
[YOCTO #15771]
(From yocto-docs rev: 80b3bb27e4efa73b982f4bfeccca4deedf78c0d7)
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.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 9406f3548c..dae23e1ff8 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -5111,6 +5111,27 @@ system and gives an overview of their function and contents. | |||
5111 | the :term:`KERNEL_PATH` variable. Both variables are common variables | 5111 | the :term:`KERNEL_PATH` variable. Both variables are common variables |
5112 | used by external Makefiles to point to the kernel source directory. | 5112 | used by external Makefiles to point to the kernel source directory. |
5113 | 5113 | ||
5114 | :term:`KERNEL_SPLIT_MODULES` | ||
5115 | When inheriting the :ref:`ref-classes-kernel-module-split` class, this | ||
5116 | variable controls whether kernel modules are split into separate packages | ||
5117 | or bundled into a single package. | ||
5118 | |||
5119 | For some use cases, a monolithic kernel module package | ||
5120 | :term:`KERNEL_PACKAGE_NAME` that contains all modules built from the | ||
5121 | kernel sources may be preferred to speed up the installation. | ||
5122 | |||
5123 | By default, this variable is set to ``1``, resulting in one package per | ||
5124 | module. Setting it to any other value will generate a single monolithic | ||
5125 | package containing all kernel modules. | ||
5126 | |||
5127 | .. note:: | ||
5128 | |||
5129 | If :term:`KERNEL_SPLIT_MODULES` is set to 0, it is still possible to | ||
5130 | install all kernel modules at once by adding ``kernel-modules`` (assuming | ||
5131 | :term:`KERNEL_PACKAGE_NAME` is ``kernel-modules``) to :term:`IMAGE_INSTALL`. | ||
5132 | The way it works is that a placeholder "kernel-modules" package will be | ||
5133 | created and will depend on every other individual kernel module packages. | ||
5134 | |||
5114 | :term:`KERNEL_SRC` | 5135 | :term:`KERNEL_SRC` |
5115 | The location of the kernel sources. This variable is set to the value | 5136 | The location of the kernel sources. This variable is set to the value |
5116 | of the :term:`STAGING_KERNEL_DIR` within the :ref:`ref-classes-module` | 5137 | of the :term:`STAGING_KERNEL_DIR` within the :ref:`ref-classes-module` |