aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-20 14:57:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-20 23:25:28 +0100
commitbee20cc624a1155376cf3c899dc5c6d850dacb2c (patch)
tree97a979aaadc014ae82669844d30136c0e29d005f
parent888778ebfa85677ff36065dfcd0f8a7684edfc80 (diff)
downloadbitbake-contrib-bee20cc624a1155376cf3c899dc5c6d850dacb2c.tar.gz
doc: Document FILE_LAYERNAME
Document the new variable. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
index ee5d7ba8d..337cfa3ed 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
@@ -1072,6 +1072,11 @@ overview of their function and contents.
environment variable. The value is a colon-separated list of
directories that are searched left-to-right in order.
+ :term:`FILE_LAYERNAME`
+ During parsing and task execution, this is set to the name of the
+ layer containing the recipe file. Code can use this to identify which
+ layer a recipe is from.
+
:term:`GITDIR`
The directory in which a local copy of a Git repository is stored
when it is cloned.