diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2021-03-22 06:19:36 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-22 18:09:26 +0000 |
commit | 5e4e9acd323b5ebc3a14c07384f6cf8f8a272066 (patch) | |
tree | 73d898fc0d45783734123b1a492e61ef571f8016 | |
parent | 493f291601c7680f8b8146f358c545fcb5f53cc9 (diff) | |
download | bitbake-5e4e9acd323b5ebc3a14c07384f6cf8f8a272066.tar.gz |
doc: mention that addtask handles multiple dependencies
Add a note explaining that "addtask" can accept multiple dependencies,
just in case someone runs across such an example and is confused.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst index 7ea68ade7..dcf664ebf 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst @@ -1296,6 +1296,17 @@ For more information on task dependencies, see the See the ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:variable flags`" section for information on variable flags you can use with tasks. +.. note:: + + While it's infrequent, it's possible to define multiple tasks as + dependencies when calling ``addtask``. For example, here's a snippet + from the OpenEmbedded class file ``package_tar.bbclass``:: + + addtask package_write_tar before do_build after do_packagedata do_package + + Note how the ``package_write_tar`` task has to wait until both of + ``do_packagedata`` and ``do_package`` complete. + Deleting a Task --------------- |