summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
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 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`