diff mbox series

doc: bitbake-user-manual-ref-variables: document BB_CURRENT_MC

Message ID 20250207-doc-bbcurrentmc-v1-1-a95c50bf350a@bootlin.com
State New
Headers show
Series doc: bitbake-user-manual-ref-variables: document BB_CURRENT_MC | expand

Commit Message

Antonin Godard Feb. 7, 2025, 3:28 p.m. UTC
Document the BB_CURRENT_MC variable, which holds the name of the current
multiconfig build a task is being run under.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 5 +++++
 1 file changed, 5 insertions(+)


---
base-commit: 8843860010c97cc10ff69205d209634639b6c5cd
change-id: 20250207-doc-bbcurrentmc-ee771e4527d0

Best regards,
diff mbox series

Patch

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 ad219b531..858de6347 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
@@ -127,6 +127,11 @@  overview of their function and contents.
       Contains the name of the currently running task. The name does not
       include the ``do_`` prefix.
 
+   :term:`BB_CURRENT_MC`
+      Contains the name of the current multiconfig a task is being run under.
+      The name is taken from the multiconfig configuration file (a file
+      ``mc1.conf`` would make this variable equal to ``mc1``).
+
    :term:`BB_DEFAULT_TASK`
       The default task to use when none is specified (e.g. with the ``-c``
       command line option). The task name specified should not include the