summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-12 19:23:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-19 06:28:46 -0800
commit6cfc1c83b90c9c9dd5290749aed49896327739e6 (patch)
tree30e835624224706bfd24d4a031c9c3b8d1a1fd0b /bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
parent701ae7d1f4d718ef9425c1f89f9f1693e4d110e7 (diff)
downloadpoky-6cfc1c83b90c9c9dd5290749aed49896327739e6.tar.gz
bitbake: cooker: 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: d3e182bc18ff2894f1efc8aad3d508dd432c996e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml13
1 files changed, 4 insertions, 9 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 d602c469b0..daf5b35b6a 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
@@ -666,19 +666,14 @@
666 </para> 666 </para>
667 667
668 <para> 668 <para>
669 When you generate a dependency graph, BitBake writes four 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>package-depends.dot</filename>:</emphasis> 672 <listitem><para><emphasis><filename>recipe-depends.dot</filename>:</emphasis>
673 Shows BitBake's knowledge of dependencies between 673 Shows dependencies between recipes (a collapsed version of task-depends.dot).
674 runtime targets.
675 </para></listitem>
676 <listitem><para><emphasis><filename>pn-depends.dot</filename>:</emphasis>
677 Shows dependencies between build-time targets
678 (i.e. recipes).
679 </para></listitem> 674 </para></listitem>
680 <listitem><para><emphasis><filename>task-depends.dot</filename>:</emphasis> 675 <listitem><para><emphasis><filename>task-depends.dot</filename>:</emphasis>
681 Shows dependencies between tasks. 676 Shows dependencies between tasks. This matches bitbake's internal task execution list.
682 </para></listitem> 677 </para></listitem>
683 <listitem><para><emphasis><filename>pn-buildlist</filename>:</emphasis> 678 <listitem><para><emphasis><filename>pn-buildlist</filename>:</emphasis>
684 Shows a simple list of targets that are to be built. 679 Shows a simple list of targets that are to be built.