From e9a2e5ae36549395dcd7e19fd73e794e1cc8c2ef Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 25 May 2017 06:54:06 -0700 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 31 ++++++++++++++-------- 1 file 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" LAYERDEPENDS - 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." + 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." - Lists the layers that this recipe depends upon, separated by spaces. - Optionally, you can specify a specific layer version for a dependency - by adding it to the end of the layer name with a colon, (e.g. "anotherlayer:3" - to be compared against - LAYERVERSION_anotherlayer - in this case). - An error will be produced if any dependency is missing or - the version numbers do not match exactly (if specified). - This variable is used in the conf/layer.conf file - and must be suffixed with the name of the specific layer (e.g. + Lists the layers, separated by spaces, on which this + recipe depends. + Optionally, you can specify a specific layer version for a + dependency by adding it to the end of the layer name. + Here is an example: + + LAYERDEPENDS_mylayer = "anotherlayer (=3)" + + In this previous example, version 3 of "anotherlayer" + is compared against + LAYERVERSION_anotherlayer. + + + + An error is produced if any dependency is missing or + the version numbers (if specified) do not match exactly. + This variable is used in the + conf/layer.conf file and must be + suffixed with the name of the specific layer (e.g. LAYERDEPENDS_mylayer).