diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-01-14 16:50:19 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-16 15:59:22 +0000 |
| commit | 11e92659b4f8057d8b4ef82bdca3f9f87ad17f25 (patch) | |
| tree | 7aabaccf525b1b6f3e1718f45cc7317c8656a537 /documentation/ref-manual | |
| parent | ba0524ceb4f1b890c53dd86ff66345869490515d (diff) | |
| download | poky-11e92659b4f8057d8b4ef82bdca3f9f87ad17f25.tar.gz | |
ref-manual: New LINUX_VERSION_EXTENSION variable glossary entry.
(From yocto-docs rev: 98a1d57e0bcf018509bb2a167381817b0b6b95d8)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 26 |
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> |
