diff options
| -rw-r--r-- | documentation/poky-ref-manual/ref-variables.xml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index 15bbcee896..24137480c1 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | <link linkend='var-HOMEPAGE'>H</link> | 25 | <link linkend='var-HOMEPAGE'>H</link> |
| 26 | <link linkend='var-IMAGE_FEATURES'>I</link> | 26 | <link linkend='var-IMAGE_FEATURES'>I</link> |
| 27 | <!-- <link linkend='var-glossary-j'>J</link> --> | 27 | <!-- <link linkend='var-glossary-j'>J</link> --> |
| 28 | <link linkend='var-KERNEL_IMAGETYPE'>K</link> | 28 | <link linkend='var-KERNEL_FEATURES'>K</link> |
| 29 | <link linkend='var-LAYERDIR'>L</link> | 29 | <link linkend='var-LAYERDIR'>L</link> |
| 30 | <link linkend='var-MACHINE'>M</link> | 30 | <link linkend='var-MACHINE'>M</link> |
| 31 | <!-- <link linkend='var-glossary-n'>N</link> --> | 31 | <!-- <link linkend='var-glossary-n'>N</link> --> |
| @@ -580,6 +580,26 @@ | |||
| 580 | 580 | ||
| 581 | <glossdiv id='var-glossary-k'><title>K</title> | 581 | <glossdiv id='var-glossary-k'><title>K</title> |
| 582 | 582 | ||
| 583 | <glossentry id='var-KERNEL_FEATURES'><glossterm>KERNEL_FEATURES</glossterm> | ||
| 584 | <glossdef> | ||
| 585 | <para>Includes additional metadata from the Linux Yocto kernel Git repository. | ||
| 586 | The metadata includes config fragments and features descriptions, | ||
| 587 | which usually include patches as well as config fragments. | ||
| 588 | You typically override the <filename>KERNEL_FEATURES</filename> variable | ||
| 589 | for a specific machine.</para> | ||
| 590 | <para>For example, the following adds <filename>netfilter</filename> to all | ||
| 591 | the Linux Yocto kernels and adds sound support to the <filename>qemux86</filename> | ||
| 592 | machine: | ||
| 593 | <literallayout class='monospaced'> | ||
| 594 | # Add netfilter to all linux-yocto kernels | ||
| 595 | KERNEL_FEATURES="features/netfilter" | ||
| 596 | |||
| 597 | # Add sound support to the qemux86 machine | ||
| 598 | KERNEL_FEATURES_append_qemux86="cfg/sound" | ||
| 599 | </literallayout></para> | ||
| 600 | </glossdef> | ||
| 601 | </glossentry> | ||
| 602 | |||
| 583 | <glossentry id='var-KERNEL_IMAGETYPE'><glossterm>KERNEL_IMAGETYPE</glossterm> | 603 | <glossentry id='var-KERNEL_IMAGETYPE'><glossterm>KERNEL_IMAGETYPE</glossterm> |
| 584 | <glossdef> | 604 | <glossdef> |
| 585 | <para>The type of kernel to build for a device, usually set by the | 605 | <para>The type of kernel to build for a device, usually set by the |
