diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 11 |
1 files changed, 11 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 7ea68ade72..dcf664ebf4 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | |||
@@ -1296,6 +1296,17 @@ For more information on task dependencies, see the | |||
1296 | See the ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:variable flags`" section for information | 1296 | See the ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:variable flags`" section for information |
1297 | on variable flags you can use with tasks. | 1297 | on variable flags you can use with tasks. |
1298 | 1298 | ||
1299 | .. note:: | ||
1300 | |||
1301 | While it's infrequent, it's possible to define multiple tasks as | ||
1302 | dependencies when calling ``addtask``. For example, here's a snippet | ||
1303 | from the OpenEmbedded class file ``package_tar.bbclass``:: | ||
1304 | |||
1305 | addtask package_write_tar before do_build after do_packagedata do_package | ||
1306 | |||
1307 | Note how the ``package_write_tar`` task has to wait until both of | ||
1308 | ``do_packagedata`` and ``do_package`` complete. | ||
1309 | |||
1299 | Deleting a Task | 1310 | Deleting a Task |
1300 | --------------- | 1311 | --------------- |
1301 | 1312 | ||