Skip to contentSkip to conversation

bitbake-user-manual: Documenting BB_CMDLINE

PATCH Superseded Swami 2 participants 2 messages Dec 3, 2025

v3 of 7 Superseded Latest is v7 →

lore
Share & tools
lore

Swami

author
#0 lore raw

PATCH v3 1/1 bitbake-user-manual: Documenting BB_CMDLINE

Add documentation for the internal read-only variable :term:'BB_CMDLINE'. Fixes [YOCTO #15746]

---
 doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 4 ++++
 1 file changed, 4 insertions(+)
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +4 -0
index 734c7858a..f756c436d 100644
@@ -116,6 +116,10 @@ overview of their function and contents.
       Specifies if SSL certificates should be checked when fetching. The default
       value is ``1`` and certificates are not checked if the value is set to ``0``.
 
+   :term:`BB_CMDLINE`
+        :term:'BB_CMDLINE' is an internal variable and is read-only.It captures the exact
+        command line used for the current invocation of BitBake.
+      
    :term:`BB_HASH_CODEPARSER_VALS`
       Specifies values for variables to use when populating the codeparser cache.
       This can be used selectively to set dummy values for variables to avoid
#1 lore raw

Hi Swami

Thanks for this update!

Quoted 12 lines · Swami

Add documentation for the internal read-only variable :term:'BB_CMDLINE'. Fixes [YOCTO #15746]

---
  doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 4 ++++
  1 file changed, 4 insertions(+)
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +0 -0
index 734c7858a..f756c436d 100644

doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst overview of their function and contents. · line 121

Quoted 6 lines
doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +3 -0
@@ -116,6 +116,10 @@ overview of their function and contents.
        Specifies if SSL certificates should be checked when fetching. The default
        value is ``1`` and certificates are not checked if the value is set to ``0``.
 
+   :term:`BB_CMDLINE`
+        :term:'BB_CMDLINE' is an internal variable and is read-only.It captures the exact
+        command line used for the current invocation of BitBake.

Two more issues:

* You need backquotes around the second instance of BB_CMDLINE, just like in the first line. Otherwise, the reference is not created.
* There is a missing space between "read-only." and "It"

It's almost good!
Thanks
Michael.

Signature · 4 lines
Michael Opdenacker
Root Commit
Yocto Project and OpenEmbedded Training course - Learn by doing:
https://rootcommit.com/training/yocto/