diff options
| -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 6ec9866063..3e3b1df377 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -4571,6 +4571,27 @@ system and gives an overview of their function and contents. | |||
| 4571 | the :term:`KERNEL_PATH` variable. Both variables are common variables | 4571 | the :term:`KERNEL_PATH` variable. Both variables are common variables |
| 4572 | used by external Makefiles to point to the kernel source directory. | 4572 | used by external Makefiles to point to the kernel source directory. |
| 4573 | 4573 | ||
| 4574 | :term:`KERNEL_SPLIT_MODULES` | ||
| 4575 | When inheriting the :ref:`ref-classes-kernel-module-split` class, this | ||
| 4576 | variable controls whether kernel modules are split into separate packages | ||
| 4577 | or bundled into a single package. | ||
| 4578 | |||
| 4579 | For some use cases, a monolithic kernel module package | ||
| 4580 | :term:`KERNEL_PACKAGE_NAME` that contains all modules built from the | ||
| 4581 | kernel sources may be preferred to speed up the installation. | ||
| 4582 | |||
| 4583 | By default, this variable is set to ``1``, resulting in one package per | ||
| 4584 | module. Setting it to any other value will generate a single monolithic | ||
| 4585 | package containing all kernel modules. | ||
| 4586 | |||
| 4587 | .. note:: | ||
| 4588 | |||
| 4589 | If :term:`KERNEL_SPLIT_MODULES` is set to 0, it is still possible to | ||
| 4590 | install all kernel modules at once by adding ``kernel-modules`` (assuming | ||
| 4591 | :term:`KERNEL_PACKAGE_NAME` is ``kernel-modules``) to :term:`IMAGE_INSTALL`. | ||
| 4592 | The way it works is that a placeholder "kernel-modules" package will be | ||
| 4593 | created and will depend on every other individual kernel module packages. | ||
| 4594 | |||
| 4574 | :term:`KERNEL_SRC` | 4595 | :term:`KERNEL_SRC` |
| 4575 | The location of the kernel sources. This variable is set to the value | 4596 | The location of the kernel sources. This variable is set to the value |
| 4576 | of the :term:`STAGING_KERNEL_DIR` within | 4597 | of the :term:`STAGING_KERNEL_DIR` within |
