summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml26
1 files changed, 26 insertions, 0 deletions
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"
1695 </glossdef> 1695 </glossdef>
1696 </glossentry> 1696 </glossentry>
1697 1697
1698 <glossentry id='var-LINUX_VERSION_EXTENSION'><glossterm>LINUX_VERSION_EXTENSION</glossterm>
1699 <glossdef>
1700 <para>A string extension compiled into the name of the
1701 Linux kernel built with the OpenEmbedded build system.
1702 You define this variable in the kernel recipe.
1703 For example, the <filename>linux-yocto-custom.bb</filename>
1704 kernel recipe found in
1705 <filename>meta-skeleton/recipes-kernel/linux</filename>
1706 defines the variable as follows:
1707 <literallayout class='monospaced'>
1708 LINUX_VERSION_EXTENSION ?= "-custom"
1709 </literallayout>
1710 Defining this variable essentially sets the
1711 Linux kernel configuration item
1712 <filename>CONFIG_LOCALVERSION</filename>, which is visible
1713 through the <filename>uname</filename> command.
1714 Here is an example that shows the extension assuming it
1715 was set as previously shown:
1716 <literallayout class='monospaced'>
1717 $ uname -r
1718 3.7.0-rc8-custom
1719 </literallayout>
1720 </para>
1721 </glossdef>
1722 </glossentry>
1723
1698 </glossdiv> 1724 </glossdiv>
1699 1725
1700 <glossdiv id='var-glossary-m'><title>M</title> 1726 <glossdiv id='var-glossary-m'><title>M</title>