summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-05-25 06:54:06 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-22 09:18:49 +0100
commite9a2e5ae36549395dcd7e19fd73e794e1cc8c2ef (patch)
tree4ed8c231960b3a0861e35fa32f900f22ee9de53b /documentation
parentaade3895d433d9cffc9244c5001a776f6b87703e (diff)
downloadpoky-e9a2e5ae36549395dcd7e19fd73e794e1cc8c2ef.tar.gz
ref-manual: Updated LAYERDEPENDS variable description
Fixes [YOCTO #11579] The syntax for specifying a layer version was incorrect. I have added an explanation for the correct syntax and provided an example. (From yocto-docs rev: 83c97473defbbac35ebca81f4ef69289f3dd8789) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml31
1 files changed, 20 insertions, 11 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 94558df4b9..163f5760e1 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -7441,21 +7441,30 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
7441 7441
7442 <glossentry id='var-LAYERDEPENDS'><glossterm>LAYERDEPENDS</glossterm> 7442 <glossentry id='var-LAYERDEPENDS'><glossterm>LAYERDEPENDS</glossterm>
7443 <info> 7443 <info>
7444 LAYERDEPENDS[doc] = "Lists the layers, separated by spaces, upon which this recipe depends. This variable is used in the conf/layer.conf file and must be suffixed with the name of the specific layer." 7444 LAYERDEPENDS[doc] = "Lists the layers, separated by spaces, on which this recipe depends. This variable is used in the conf/layer.conf file and must be suffixed with the name of the specific layer."
7445 </info> 7445 </info>
7446 <glossdef> 7446 <glossdef>
7447 <para role="glossdeffirst"> 7447 <para role="glossdeffirst">
7448<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> 7448<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
7449 Lists the layers that this recipe depends upon, separated by spaces. 7449 Lists the layers, separated by spaces, on which this
7450 Optionally, you can specify a specific layer version for a dependency 7450 recipe depends.
7451 by adding it to the end of the layer name with a colon, (e.g. "anotherlayer:3" 7451 Optionally, you can specify a specific layer version for a
7452 to be compared against 7452 dependency by adding it to the end of the layer name.
7453 <link linkend='var-LAYERVERSION'><filename>LAYERVERSION</filename></link><filename>_anotherlayer</filename> 7453 Here is an example:
7454 in this case). 7454 <literallayout class='monospaced'>
7455 An error will be produced if any dependency is missing or 7455 LAYERDEPENDS_mylayer = "anotherlayer (=3)"
7456 the version numbers do not match exactly (if specified). 7456 </literallayout>
7457 This variable is used in the <filename>conf/layer.conf</filename> file 7457 In this previous example, version 3 of "anotherlayer"
7458 and must be suffixed with the name of the specific layer (e.g. 7458 is compared against
7459 <link linkend='var-LAYERVERSION'><filename>LAYERVERSION</filename></link><filename>_anotherlayer</filename>.
7460 </para>
7461
7462 <para>
7463 An error is produced if any dependency is missing or
7464 the version numbers (if specified) do not match exactly.
7465 This variable is used in the
7466 <filename>conf/layer.conf</filename> file and must be
7467 suffixed with the name of the specific layer (e.g.
7459 <filename>LAYERDEPENDS_mylayer</filename>). 7468 <filename>LAYERDEPENDS_mylayer</filename>).
7460 </para> 7469 </para>
7461 </glossdef> 7470 </glossdef>