diff options
| author | Dixit Parmar <dixitparmar19@gmail.com> | 2025-06-21 12:44:34 +0530 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-07-09 08:23:23 -0700 |
| commit | 3171dcc835afe49ab49847bdd6bf0d6d392fad03 (patch) | |
| tree | e1504978c0db16cdb6d468ac8c120d2c24c98a90 /documentation/ref-manual | |
| parent | 0ef633a0bbaeec1eb1f6422633a8834aba22b97e (diff) | |
| download | poky-3171dcc835afe49ab49847bdd6bf0d6d392fad03.tar.gz | |
ref-manual: document KERNEL_SPLIT_MODULES variable
This variable controls the kernel module spliting.
[YOCTO #15771]
(From yocto-docs rev: 9de9f17abfc6ee11ffa599e45eff8bafd6de801c)
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/ref-manual')
| -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 |
