From d7a3e91bb4932be2efa35406445444be7f7c0489 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 20 Jun 2023 14:57:52 +0100 Subject: [PATCH] bitbake: doc: Document FILE_LAYERNAME Document the new variable. (Bitbake rev: bee20cc624a1155376cf3c899dc5c6d850dacb2c) Signed-off-by: Richard Purdie --- .../bitbake-user-manual-ref-variables.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index ee5d7ba8d4..337cfa3ed5 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/bitbake/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.