From f32fad635d2b2a5df0b2a365ecd26344ef7be160 Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Wed, 21 Jun 2023 16:28:01 +0200 Subject: [PATCH] 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 CC: Bruce Ashfield Signed-off-by: Richard Purdie --- documentation/ref-manual/variables.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. external tools. See the :ref:`ref-classes-kernel-yocto` class in ``meta/classes-recipe`` to see how the variable is used. + :term:`KERNEL_LOCALVERSION` + This variable allows to append a string to the version + of the kernel image. This corresponds to the ``CONFIG_LOCALVERSION`` + kernel configuration parameter. + + Using this variable is only useful when you are using a kernel recipe + inheriting the :ref:`ref-classes-kernel` class, and which doesn't + already set a local version. Therefore, setting this variable has no + impact on ``linux-yocto`` kernels. + :term:`EXTERNAL_TOOLCHAIN` When you intend to use an :ref:`external toolchain `,