From 3f4cddf4ebbd9bc7749ef08d2595bb82fe19dc6f Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 2 Jun 2017 07:17:43 -0700 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) 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" + LAYERRECOMMENDS + + LAYERRECOMMENDS[doc] = "Lists the layers, separated by spaces, recommended for use with this layer." + + + + + Lists the layers, separated by spaces, recommended for + use with this layer. + Optionally, you can specify a specific layer version for a + recommendation by adding the version to the end of the + layer name. + Here is an example: + + LAYERRECOMMENDS_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. + LAYERRECOMMENDS_mylayer). + + + + LAYERVERSION 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."