diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml index 857f8b279c..4cc647fe4b 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | |||
@@ -1686,7 +1686,7 @@ | |||
1686 | recipe is built. | 1686 | recipe is built. |
1687 | In this example, <filename>mytask</filename> is run | 1687 | In this example, <filename>mytask</filename> is run |
1688 | at an unspecified time relative to other tasks within | 1688 | at an unspecified time relative to other tasks within |
1689 | the recipe, since "after" is not used. | 1689 | the recipe, since <filename>after</filename> is not used. |
1690 | </para></listitem> | 1690 | </para></listitem> |
1691 | <listitem><para> | 1691 | <listitem><para> |
1692 | The directive | 1692 | The directive |
@@ -1773,6 +1773,19 @@ | |||
1773 | </para> | 1773 | </para> |
1774 | 1774 | ||
1775 | <para> | 1775 | <para> |
1776 | The "recrdeptask" flag is most commonly used in high-level | ||
1777 | recipes that need to wait for some task to finish "globally". | ||
1778 | For example, <filename>image.bbclass</filename> has the following: | ||
1779 | <literallayout class='monospaced'> | ||
1780 | do_rootfs[recrdeptask] += "do_packagedata" | ||
1781 | </literallayout> | ||
1782 | This statement says that the <filename>do_packagedata</filename> | ||
1783 | task of all recipes reachable (by way of dependencies) from the | ||
1784 | image recipe must run before the <filename>do_rootfs</filename> | ||
1785 | task can run. | ||
1786 | </para> | ||
1787 | |||
1788 | <para> | ||
1776 | You might want to not only have BitBake look for | 1789 | You might want to not only have BitBake look for |
1777 | dependencies of those tasks, but also have BitBake look | 1790 | dependencies of those tasks, but also have BitBake look |
1778 | for build-time and runtime dependencies of the dependent | 1791 | for build-time and runtime dependencies of the dependent |