bitbake: doc: Document FILE_LAYERNAME

Document the new variable.

(Bitbake rev: bee20cc624a1155376cf3c899dc5c6d850dacb2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2023-06-20 14:57:52 +01:00
parent 8ed7880e1e
commit d7a3e91bb4

View File

@ -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.