ref-manual: document KERNEL_SPLIT_MODULES variable
PATCH v3 1/1 ref-manual: document KERNEL_SPLIT_MODULES variable
This variable controls the kernel module spliting.
[YOCTO #15771]
Signed-off-by Dixit Parmar <[email protected]>
--- documentation/ref-manual/variables.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
documentation/ref-manual/variables.rst +21 -0
@@ -5350,6 +5350,27 @@ 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 + :term:`KERNEL_PACKAGE_NAME` that contains all modules built from the + kernel sources may be preferred to speed up the 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. + + .. note:: + + If :term:`KERNEL_SPLIT_MODULES` is set to 0, it is still possible to + install all kernel modules at once by adding ``kernel-modules`` (assuming + `KERNEL_PACKAGE_NAME` = `kernel-modules`) to :term:`IMAGE_INSTALL`. + The way it works is that a placeholder "kernel-modules" package will be + created and will depend on every other individual kernel module packages. + :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
Antonin Godard
AppliedQuoted 5 lines · Dixit Parmar
This variable controls the kernel module spliting.
[YOCTO #15771]
Applied, thanks!
[1/1] ref-manual: document KERNEL_SPLIT_MODULES variable
commit: 198179d9c6231b5934d4fb6ede716d1dcb1442bb
Best regards,
Signature · 1 line
Antonin Godard <[email protected]>