diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index fc95845c66..01f5fe9cfb 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -1695,6 +1695,32 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" + LINUX_VERSION_EXTENSION + + A string extension compiled into the name of the + Linux kernel built with the OpenEmbedded build system. + You define this variable in the kernel recipe. + For example, the linux-yocto-custom.bb + kernel recipe found in + meta-skeleton/recipes-kernel/linux + defines the variable as follows: + + LINUX_VERSION_EXTENSION ?= "-custom" + + Defining this variable essentially sets the + Linux kernel configuration item + CONFIG_LOCALVERSION, which is visible + through the uname command. + Here is an example that shows the extension assuming it + was set as previously shown: + + $ uname -r + 3.7.0-rc8-custom + + + + + M