From d918df7e8e6adc022a261608242b5750859a0bbc Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 11 Jul 2016 14:24:22 -0700 Subject: 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 Signed-off-by: Richard Purdie --- .../bitbake-user-manual-metadata.xml | 35 ++++++++++++++++------ 1 file 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 @@ Dependencies - To allow for efficient operation given multiple processes - executing in parallel, BitBake handles dependencies at - the task level. - BitBake supports a robust method to handle these dependencies. - - - - This section describes several types of dependency mechanisms. - + To allow for efficient parallel processing, BitBake handles + dependencies at the task level. + Dependencies can exist both between tasks within a single recipe + and between tasks in different recipes. + Following are examples of each: + + For tasks within a single recipe, a + recipe's do_configure + task might need to complete before its + do_compile task can run. + + For tasks in different recipes, one + recipe's do_configure + task might require another recipe's + do_populate_sysroot + task to finish first such that the libraries and headers + provided by the other recipe are available. + + + + + + This section describes several ways to declare dependencies. + Remember, even though dependencies are declared in different ways, they + are all simply dependencies between tasks. +
Dependencies Internal to the <filename>.bb</filename> File -- cgit 1.2.3-korg