diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2023-06-21 16:28:01 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-30 11:11:17 +0000 |
commit | f32fad635d2b2a5df0b2a365ecd26344ef7be160 (patch) | |
tree | 89b5b26b25f1c0bc6d5aa3290934b01ac147388c /documentation/ref-manual | |
parent | 77fdd0e462b258f0df9ac7522e6f0600864ce8e3 (diff) | |
download | poky-f32fad635d2b2a5df0b2a365ecd26344ef7be160.tar.gz |
ref-manual: document KERNEL_LOCALVERSION
Introduced by
https://git.yoctoproject.org/poky/commit/?id=66ed174ccdf7a89cb998f503cc6b631e2d1adcc0
(From yocto-docs rev: 4bdd4976667b802895b13541b77191a65335a175)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/variables.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 03234d3f78..e0273138f2 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -2485,6 +2485,16 @@ system and gives an overview of their function and contents. | |||
2485 | external tools. See the :ref:`ref-classes-kernel-yocto` class in | 2485 | external tools. See the :ref:`ref-classes-kernel-yocto` class in |
2486 | ``meta/classes-recipe`` to see how the variable is used. | 2486 | ``meta/classes-recipe`` to see how the variable is used. |
2487 | 2487 | ||
2488 | :term:`KERNEL_LOCALVERSION` | ||
2489 | This variable allows to append a string to the version | ||
2490 | of the kernel image. This corresponds to the ``CONFIG_LOCALVERSION`` | ||
2491 | kernel configuration parameter. | ||
2492 | |||
2493 | Using this variable is only useful when you are using a kernel recipe | ||
2494 | inheriting the :ref:`ref-classes-kernel` class, and which doesn't | ||
2495 | already set a local version. Therefore, setting this variable has no | ||
2496 | impact on ``linux-yocto`` kernels. | ||
2497 | |||
2488 | :term:`EXTERNAL_TOOLCHAIN` | 2498 | :term:`EXTERNAL_TOOLCHAIN` |
2489 | When you intend to use an | 2499 | When you intend to use an |
2490 | :ref:`external toolchain <dev-manual/external-toolchain:optionally using an external toolchain>`, | 2500 | :ref:`external toolchain <dev-manual/external-toolchain:optionally using an external toolchain>`, |