diff --git a/documentation/ref-manual/usingpoky.xml b/documentation/ref-manual/usingpoky.xml index ecc2ea3653..15e1d47301 100644 --- a/documentation/ref-manual/usingpoky.xml +++ b/documentation/ref-manual/usingpoky.xml @@ -253,7 +253,8 @@ Sometimes it can be hard to see why BitBake wants to build other recipes before the one you have specified. - Dependency information can help you understand recipe build order. + Dependency information can help you understand why a recipe is + built. @@ -293,32 +294,45 @@ The graphs are in DOT - format and can be converted to images (e.g. using the "dot" tool - from - Graphviz. - - DOT files use a plain text format. - The graphs generated using the - bitbake -g command are often so large as - to be impossible to read without special pruning (e.g. with - Bitbake's -I option) and processing. - Despite the form and size of the files, the corresponding - .dot files can still be easy to read - and provide useful information. + format and can be converted to images (e.g. using the + dot tool from + Graphviz). + Notes + + + DOT files use a plain text format. + The graphs generated using the + bitbake -g command are often so + large as to be difficult to read without special + pruning (e.g. with Bitbake's + -I option) and processing. + Despite the form and size of the graphs, the + corresponding .dot files can still + be possible to read and provide useful information. + - As an example, the - task-depends.dot file contains lines such - as the following: - + As an example, the + task-depends.dot file contains + lines such as the following: + "libxslt.do_configure" -> "libxml2.do_populate_sysroot" - - The above example line reveals that the - do_configure - task in libxslt depends on the - do_populate_sysroot - task in libxml2, which is a normal - DEPENDS - dependency between the two recipes. + + The above example line reveals that the + do_configure + task in libxslt depends on the + do_populate_sysroot + task in libxml2, which is a normal + DEPENDS + dependency between the two recipes. + + + For an example of how .dot files + can be processed, see the + scripts/contrib/graph-tool Python + script, which finds and displays paths between graph + nodes. + +