doc: Document FILE_LAYERNAME
PATCH 1/1 doc: Document FILE_LAYERNAME
Document the new variable.
Signed-off-by Richard Purdie <[email protected]>
--- .../bitbake-user-manual-ref-variables.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +5 -0
@@ -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.
Signature · 1 line
2.39.2
Hi Richard
Quoted 13 lines · Richard Purdie
Document the new variable.
Signed-off-by Richard Purdie <[email protected]>--- .../bitbake-user-manual-ref-variables.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +0
-0@@ -1072,6 +1072,11 @@ overview of their function and contents. environment variable. The value is a colon-separated list of
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst overview of their function and contents. · line 1082
Quoted 10 lines
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +5
-0directories 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.
Reviewed-by Michael Opdenacker <[email protected]>
If you can merge this commit quickly, I'll be able to include the Yocto Manual one you submitted, referring to it. Thanks!
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 30 lines · Michael Opdenacker
Hi Richard
Quoted 13 lines · Richard Purdie
Document the new variable.
Signed-off-by Richard Purdie <[email protected]>--- .../bitbake-user-manual-ref-variables.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +0
-0@@ -1072,6 +1072,11 @@ overview of their function and contents. environment variable. The value is a colon-separated list ofdoc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst overview of their function and contents. · line 1082
Quoted 10 lines
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +5
-0directories 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.Reviewed-by Michael Opdenacker <[email protected]>
Quoted 2 lines
If you can merge this commit quickly, I'll be able to include the Yocto Manual one you submitted, referring to it.
Merged!
We may need to expand some of the documentation on this but I wanted to at least have the basics.
Cheers,
Richard