summaryrefslogtreecommitdiffstats
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-04 08:47:14 +0100
commit078408643e080fea021a1e80d3ffab110dab8356 (patch)
tree8b69989c5d5b4c678d79e461414b8b0308be1462
parent2572e44751a32e16ff90ceb366362de494456a8b (diff)
downloadpoky-078408643e080fea021a1e80d3ffab110dab8356.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: 5703fb2f8b9d3df408c596603b8b8416597fc67a) 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.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>