diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-07-11 14:24:22 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-21 07:47:53 +0100 |
commit | d918df7e8e6adc022a261608242b5750859a0bbc (patch) | |
tree | 966effc909e09b146f403faf483c8613bbe41c26 /bitbake/doc | |
parent | 6743f12bbfe54bcd0f8199a3a632226e64418794 (diff) | |
download | poky-d918df7e8e6adc022a261608242b5750859a0bbc.tar.gz |
bitbake: bitbake-user-manual: Updated dependency section for tasks
Fixes [YOCTO #9861]
I updated the section on dependencies to give a couple of examples
for task dependencies within a single recipe and dependencies for
tasks between two individual recipes.
(Bitbake rev: 231deeb2b0b3847cba971ca30c16e29357100ae6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 35 |
1 files changed, 26 insertions, 9 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 26fe58f84c..646f6744e6 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | |||
@@ -1624,15 +1624,32 @@ | |||
1624 | <title>Dependencies</title> | 1624 | <title>Dependencies</title> |
1625 | 1625 | ||
1626 | <para> | 1626 | <para> |
1627 | To allow for efficient operation given multiple processes | 1627 | To allow for efficient parallel processing, BitBake handles |
1628 | executing in parallel, BitBake handles dependencies at | 1628 | dependencies at the task level. |
1629 | the task level. | 1629 | Dependencies can exist both between tasks within a single recipe |
1630 | BitBake supports a robust method to handle these dependencies. | 1630 | and between tasks in different recipes. |
1631 | </para> | 1631 | Following are examples of each: |
1632 | 1632 | <itemizedlist> | |
1633 | <para> | 1633 | <listitem><para>For tasks within a single recipe, a |
1634 | This section describes several types of dependency mechanisms. | 1634 | recipe's <filename>do_configure</filename> |
1635 | </para> | 1635 | task might need to complete before its |
1636 | <filename>do_compile</filename> task can run. | ||
1637 | </para></listitem> | ||
1638 | <listitem><para>For tasks in different recipes, one | ||
1639 | recipe's <filename>do_configure</filename> | ||
1640 | task might require another recipe's | ||
1641 | <filename>do_populate_sysroot</filename> | ||
1642 | task to finish first such that the libraries and headers | ||
1643 | provided by the other recipe are available. | ||
1644 | </para></listitem> | ||
1645 | </itemizedlist> | ||
1646 | </para> | ||
1647 | |||
1648 | <para> | ||
1649 | This section describes several ways to declare dependencies. | ||
1650 | Remember, even though dependencies are declared in different ways, they | ||
1651 | are all simply dependencies between tasks. | ||
1652 | </para> | ||
1636 | 1653 | ||
1637 | <section id='dependencies-internal-to-the-bb-file'> | 1654 | <section id='dependencies-internal-to-the-bb-file'> |
1638 | <title>Dependencies Internal to the <filename>.bb</filename> File</title> | 1655 | <title>Dependencies Internal to the <filename>.bb</filename> File</title> |