aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJacob Kroon <jacob.kroon@gmail.com>2020-05-28 08:41:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-28 21:36:35 +0100
commitc92a266c8e452833f2a590721aa1c2bd6fbeb2e0 (patch)
tree3d9796ea7c1006612663c8efef1201dccea51277 /doc
parentcaf422435ad64aacbdab8a94da3115599dd0938b (diff)
downloadbitbake-c92a266c8e452833f2a590721aa1c2bd6fbeb2e0.tar.gz
doc: More explanation to tasks that recursively depend on themselves
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/bitbake-user-manual/bitbake-user-manual-metadata.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
index 95a8b95b1..069a0ec80 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
+++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
@@ -2565,15 +2565,17 @@
</para>
<para>
- You might want to not only have BitBake look for
- dependencies of those tasks, but also have BitBake look
- for build-time and runtime dependencies of the dependent
- tasks as well.
- If that is the case, you need to reference the task name
- itself in the task list:
+ BitBake allows a task to recursively depend on itself by
+ referencing itself in the task list:
<literallayout class='monospaced'>
do_a[recrdeptask] = "do_a do_b"
</literallayout>
+ In the same way as before, this means that the <filename>do_a</filename>
+ and <filename>do_b</filename> tasks of the current recipe and all
+ recipes reachable (by way of dependencies) from the recipe
+ must run before the <filename>do_a</filename> task can run. In this
+ case BitBake will ignore the current recipe's <filename>do_a</filename>
+ task circular dependency on itself.
</para>
</section>