mirror of
git://git.yoctoproject.org/poky
synced 2025-12-31 13:38:04 +00:00
bitbake: doc/bitbake-user-manual-ref-variables: improve INHERIT
Current wording makes it difficult to understand what exactly is done with INHERIT-ed anonymous functions and when. (Bitbake rev: f06af69458083735e69f115edf73f783f18bc08c) Signed-off-by: Adam Blank <adam.blank.g@gmail.com> Reviewed-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>
This commit is contained in:
parent
36034f846a
commit
726d6ecd5c
@ -1208,9 +1208,17 @@ overview of their function and contents.
|
||||
|
||||
:term:`INHERIT`
|
||||
Causes the named class or classes to be inherited globally. Anonymous
|
||||
functions in the class or classes are not executed for the base
|
||||
configuration and in each individual recipe. The OpenEmbedded build
|
||||
system ignores changes to :term:`INHERIT` in individual recipes.
|
||||
functions in the class or classes are executed in two disjoint situations:
|
||||
|
||||
- When only the
|
||||
:ref:`base configuration <bitbake-user-manual/bitbake-user-manual-execution:parsing the base configuration metadata>`
|
||||
is parsed. For example as a result of the following BitBake invocation::
|
||||
|
||||
$ bitbake -e
|
||||
|
||||
- When recipes are parsed - then for each parsed recipe.
|
||||
|
||||
Bitbake ignores changes to :term:`INHERIT` in individual recipes.
|
||||
|
||||
For more information on :term:`INHERIT`, see the
|
||||
":ref:`bitbake-user-manual/bitbake-user-manual-metadata:\`\`inherit\`\` configuration directive`"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user