From d6a396b5942c9a9398745f720d1b83e31381c2ba Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 23 Mar 2018 14:05:02 -0700 Subject: dev-manual: Updated the "Creating Your Own Layer" section. Added information to the list of variables used in the layer.conf file to specify LAYERSERIES_COMPAT. (From yocto-docs rev: c41ff41e75b654d5d7df8c2a1e83ba5525490285) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 24 ++++++++++++++-------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 417a95612e..31b46c4435 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -147,30 +147,30 @@ The recipes for the layers are appended to - BBFILES. + BBFILES. The - BBFILE_COLLECTIONS + BBFILE_COLLECTIONS variable is appended with the layer's root name, which is "yoctobsp" in this example. The - BBFILE_PATTERN + BBFILE_PATTERN variable is set to a regular expression and is used to match files from BBFILES into a particular layer. In this case, - LAYERDIR + LAYERDIR is used to make BBFILE_PATTERN match within the layer's path. The - BBFILE_PRIORITY + BBFILE_PRIORITY variable assigns a priority to the layer. Applying priorities is useful in situations where the same recipe might appear in multiple @@ -180,15 +180,21 @@ The - LAYERVERSION + LAYERDIR + variable expands to the directory of the + current layer + + + The + LAYERVERSION variable optionally specifies the version of a layer as a single number. The - LAYERDIR - variable expands to the directory of the - current layer + LAYERSERIES_COMPAT + lists the Yocto Project releases for which the + layer is compatible. -- cgit v1.2.3-54-g00ecf