From 993393b4d9d7ab56ac4f2bbc4a0b2fd3fc2de08a Mon Sep 17 00:00:00 2001 From: Patrick Vogelaar Date: Wed, 10 Sep 2025 16:54:00 +0200 Subject: [PATCH] bitbake: doc: enhance SRCREV_FORMAT description Adding documentation for having an empty first component for the SRCREV_FORMAT. (Bitbake rev: 37ef26cfd5441ce97ff7ec0d5026c92091224c07) Signed-off-by: Patrick Vogelaar Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- .../bitbake-user-manual-ref-variables.rst | 6 ++++++ 1 file changed, 6 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 ac8e06392d..d091334a44 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 @@ -1688,6 +1688,12 @@ overview of their function and contents. ``AUTOINC`` placeholder is added and if needed. And, this placeholder is placed at the start of the returned string. + The :term:`SRCREV_FORMAT` can also take the form "_component2". + This assumes that there is a component in the :term:`SRC_URI` that does not + have a name assigned. While this is not considered good practice, it can be + usefull if a ``.bbappend`` file needs to extend the :term:`SRC_URI` with + an additional repository. + :term:`STAMP` Specifies the base path used to create recipe stamp files. The path to an actual stamp file is constructed by evaluating this string and