summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-07-24 12:15:46 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-07-31 10:07:21 +0100
commit731b1f50c89d75bd8ea000f1b1ece7868e526590 (patch)
tree1c1b7747246975b4e73b4002648f1420def72e72 /bitbake
parent5db9e93fa7d9b4fb1a5d1eab5b6178f798641c87 (diff)
downloadpoky-731b1f50c89d75bd8ea000f1b1ece7868e526590.tar.gz
bitbake: doc/bitbake-user-manual-ref-variables: document BB_DEFER_BBCLASSES
Document the BB_DEFER_BBCLASSES variable added in 8e741b2e885a ("ast/BBHandler: Add support for BB_DEFER_BBCLASSES"). (Bitbake rev: 3f9eba26b29db526fed263a7e70b824988e17656) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst3
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst19
2 files changed, 22 insertions, 0 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
index 1042c65d89..9d4f426bf7 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
@@ -871,6 +871,9 @@ In all cases, if the expression evaluates to an
871empty string, the statement does not trigger a syntax error because it 871empty string, the statement does not trigger a syntax error because it
872becomes a no-op. 872becomes a no-op.
873 873
874See also :term:`BB_DEFER_BBCLASSES` for automatically promoting classes
875``inherit`` calls to ``inherit_defer``.
876
874``include`` Directive 877``include`` Directive
875--------------------- 878---------------------
876 879
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 4ff95ea7ac..1545c914cc 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
@@ -141,6 +141,25 @@ overview of their function and contents.
141 The default umask to apply to tasks if specified and no task specific 141 The default umask to apply to tasks if specified and no task specific
142 umask flag is set. 142 umask flag is set.
143 143
144 :term:`BB_DEFER_BBCLASSES`
145 The classes listed in this variable have their :ref:`inherit
146 <ref-bitbake-user-manual-metadata-inherit>` calls automatically promoted
147 to deferred inherits. See :ref:`inherit_defer
148 <ref-bitbake-user-manual-metadata-inherit-defer>` for more information on
149 deferred inherits.
150
151 This means that if :term:`BB_DEFER_BBCLASSES` is set as follows::
152
153 BB_DEFER_BBCLASSES = "foo"
154
155 The following statement::
156
157 inherit foo
158
159 Will automatically be equal to calling::
160
161 inherit_defer foo
162
144 :term:`BB_DISKMON_DIRS` 163 :term:`BB_DISKMON_DIRS`
145 Monitors disk space and available inodes during the build and allows 164 Monitors disk space and available inodes during the build and allows
146 you to control the build based on these parameters. 165 you to control the build based on these parameters.