@@ -1324,22 +1324,32 @@ overview of their function and contents.
In OpenEmbedded, the ``openembedded-core`` layer sets this variable.
+ :term:`LAYER_PASSTHROUGH_VARS_PREFIXES`
+ The :term:`LAYER_PASSTHROUGH_VARS_PREFIXES` variable should be set by one
+ layer only (the first one in the :term:`BBLAYERS` list wins) and contains
+ a list of variable prefixes: the matching variables are the **only** ones
+ that can be set from the ``conf/layer.conf`` file and that set a global
+ value for the variable.
+
:term:`LAYERDEPENDS`
- Lists the layers, separated by spaces, upon 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 with a colon,
- (e.g. "anotherlayer:3" to be compared against
- :term:`LAYERVERSION`\ ``_anotherlayer`` in
- this case). BitBake produces an error if any dependency is missing or
- the version numbers do not match exactly (if specified).
-
- You use this variable in the ``conf/layer.conf`` file. You must also
- use the specific layer name as a suffix to the variable (e.g.
- ``LAYERDEPENDS_mylayer``).
+ Lists the layers, separated by spaces, on which this layer 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 = "anotherlayer (=3)"
+
+ In this previous example, version 3 of ``anotherlayer`` is compared
+ against the :term:`LAYERVERSION` definition of ``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.
:term:`LAYERDIR`
- This variable is automatically defined by :term:`BitBake` when parsing the
- layers: when :term:`BitBake` reads the :term:`BBLAYERS` variable, it sets
+ This variable is automatically defined by BitBake when parsing the
+ layers: when BitBake reads the :term:`BBLAYERS` variable, it sets
a new ``LAYERDIR_<layer name>`` variable containing the absolute layer path
for each layer in the list. The ``<layer name>`` value is determined from the
layer's :term:`LAYERNAME`.
@@ -1348,8 +1358,23 @@ overview of their function and contents.
When used inside the ``layer.conf`` configuration file, this variable
provides the name assigned to the current layer.
+ :term:`LAYERRECOMMENDS`
+ 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 = "anotherlayer (=3)"
+
+ In this previous example, version 3 of ``anotherlayer`` is compared
+ against the :term:`LAYERVERSION` definition of ``anotherlayer``.
+
+ This variable is used in the ``conf/layer.conf`` file.
+
:term:`LAYERSERIES_COMPAT`
- Lists the versions of the OpenEmbedded-Core (OE-Core) for which
+ Lists the versions of the OpenEmbedded-Core (OE-Core) series for which
a layer is compatible. Using the :term:`LAYERSERIES_COMPAT` variable
allows the layer maintainer to indicate which combinations of the
layer and OE-Core can be expected to work. The variable gives the
@@ -1362,7 +1387,7 @@ overview of their function and contents.
"mickledore"). To specify multiple OE-Core versions for the layer, use
a space-separated list::
- LAYERSERIES_COMPAT_layer_root_name = "kirkstone mickledore"
+ LAYERSERIES_COMPAT = "kirkstone mickledore"
.. note::
@@ -1373,13 +1398,9 @@ overview of their function and contents.
:term:`LAYERVERSION`
Optionally specifies the version of a layer as a single number. You
- can use this variable within
- :term:`LAYERDEPENDS` for another layer in
- order to depend on a specific version of the layer.
-
- You use this variable in the ``conf/layer.conf`` file. You must also
- use the specific layer name as a suffix to the variable (e.g.
- ``LAYERDEPENDS_mylayer``).
+ can use this within :term:`LAYERDEPENDS` for
+ another layer in order to depend on a specific version of the layer.
+ This variable is used in the ``conf/layer.conf`` file.
:term:`LICENSE`
The list of source licenses for the recipe.
Refresh the documentation for LAYER* variables after the recent layer configuration format changes. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- .../bitbake-user-manual-ref-variables.rst | 65 ++++++++++++++-------- 1 file changed, 43 insertions(+), 22 deletions(-)