summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/bitbake-user-manual
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-01-23 15:44:19 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-01 15:46:59 +0000
commitbcfb0da4fec6809de585410c7b3e1b23689457a4 (patch)
tree9b4c0980188ea0e23daa8a6140063034d79142e2 /bitbake/doc/bitbake-user-manual
parent254bfb107134702d8d1e0bfbdd1b011212e8c291 (diff)
downloadpoky-bcfb0da4fec6809de585410c7b3e1b23689457a4.tar.gz
bitbake: bitbake-user-manual: Rewrite dependency dot file generation
The package-depends.dot and pn-depends.dot files are inaccurate, missing out key dependencies such those made via the [depends] flags. As such they can be misleading to the user. They mainly exist for historical reasons, coming from a time before we had task based execution. This commit removes the two dated file formats and replaces them with a recipe-depends.dot which is a flattened version of task-depends.dot. The old format files are removed if present so that the user can't get confused about why data might not match between files. The code is also rewritten to use 'with f: f.write()' syntax as is more commonly used now. Also update the docs to match the change. (Bitbake rev: f82537d27f2a5bf9d576aa841593db9ec0985ea8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/bitbake-user-manual')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml15
1 files changed, 10 insertions, 5 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
index daf5b35b6a..7248a0bf4e 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
@@ -669,13 +669,18 @@
669 When you generate a dependency graph, BitBake writes three files 669 When you generate a dependency graph, BitBake writes three files
670 to the current working directory: 670 to the current working directory:
671 <itemizedlist> 671 <itemizedlist>
672 <listitem><para><emphasis><filename>recipe-depends.dot</filename>:</emphasis> 672 <listitem><para>
673 Shows dependencies between recipes (a collapsed version of task-depends.dot). 673 <emphasis><filename>recipe-depends.dot</filename>:</emphasis>
674 Shows dependencies between recipes (i.e. a collapsed version of
675 <filename>task-depends.dot</filename>).
674 </para></listitem> 676 </para></listitem>
675 <listitem><para><emphasis><filename>task-depends.dot</filename>:</emphasis> 677 <listitem><para>
676 Shows dependencies between tasks. This matches bitbake's internal task execution list. 678 <emphasis><filename>task-depends.dot</filename>:</emphasis>
679 Shows dependencies between tasks.
680 These dependencies match BitBake's internal task execution list.
677 </para></listitem> 681 </para></listitem>
678 <listitem><para><emphasis><filename>pn-buildlist</filename>:</emphasis> 682 <listitem><para>
683 <emphasis><filename>pn-buildlist</filename>:</emphasis>
679 Shows a simple list of targets that are to be built. 684 Shows a simple list of targets that are to be built.
680 </para></listitem> 685 </para></listitem>
681 </itemizedlist> 686 </itemizedlist>