diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2017-06-02 07:17:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-22 09:18:49 +0100 |
commit | 3f4cddf4ebbd9bc7749ef08d2595bb82fe19dc6f (patch) | |
tree | be0336b45d1392a18abbc53318a2675e6ce0df86 | |
parent | e9a2e5ae36549395dcd7e19fd73e794e1cc8c2ef (diff) | |
download | poky-3f4cddf4ebbd9bc7749ef08d2595bb82fe19dc6f.tar.gz |
ref-manual: Added LAYERRECOMMENDS variable description
Fixes [YOCTO #11579]
Added a new description for the LAYERRECOMMENDS variable.
(From yocto-docs rev: 207c69e218507b384dbd017367dfe392fd45296e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 163f5760e1..4a2c79f1be 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -7485,6 +7485,38 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
7485 | </glossdef> | 7485 | </glossdef> |
7486 | </glossentry> | 7486 | </glossentry> |
7487 | 7487 | ||
7488 | <glossentry id='var-LAYERRECOMMENDS'><glossterm>LAYERRECOMMENDS</glossterm> | ||
7489 | <info> | ||
7490 | LAYERRECOMMENDS[doc] = "Lists the layers, separated by spaces, recommended for use with this layer." | ||
7491 | </info> | ||
7492 | <glossdef> | ||
7493 | <para role="glossdeffirst"> | ||
7494 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> | ||
7495 | Lists the layers, separated by spaces, recommended for | ||
7496 | use with this layer. | ||
7497 | Optionally, you can specify a specific layer version for a | ||
7498 | recommendation by adding the version to the end of the | ||
7499 | layer name. | ||
7500 | Here is an example: | ||
7501 | <literallayout class='monospaced'> | ||
7502 | LAYERRECOMMENDS_mylayer = "anotherlayer (=3)" | ||
7503 | </literallayout> | ||
7504 | In this previous example, version 3 of "anotherlayer" is | ||
7505 | compared against | ||
7506 | <filename>LAYERVERSION_anotherlayer</filename>. | ||
7507 | </para> | ||
7508 | |||
7509 | <para> | ||
7510 | An error is produced if any dependency is missing or the | ||
7511 | version numbers (if specified) do not match exactly. | ||
7512 | This variable is used in the | ||
7513 | <filename>conf/layer.conf</filename> file and must be | ||
7514 | suffixed with the name of the specific layer (e.g. | ||
7515 | <filename>LAYERRECOMMENDS_mylayer</filename>). | ||
7516 | </para> | ||
7517 | </glossdef> | ||
7518 | </glossentry> | ||
7519 | |||
7488 | <glossentry id='var-LAYERVERSION'><glossterm>LAYERVERSION</glossterm> | 7520 | <glossentry id='var-LAYERVERSION'><glossterm>LAYERVERSION</glossterm> |
7489 | <info> | 7521 | <info> |
7490 | LAYERVERSION[doc] = "Optionally specifies the version of a layer as a single number. This variable is used in the conf/layer.conf file and must be suffixed with the name of the specific layer." | 7522 | LAYERVERSION[doc] = "Optionally specifies the version of a layer as a single number. This variable is used in the conf/layer.conf file and must be suffixed with the name of the specific layer." |