From bcfb0da4fec6809de585410c7b3e1b23689457a4 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 23 Jan 2017 15:44:19 -0800 Subject: 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 --- .../doc/bitbake-user-manual/bitbake-user-manual-intro.xml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'bitbake/doc') 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 @@ When you generate a dependency graph, BitBake writes three files to the current working directory: - recipe-depends.dot: - Shows dependencies between recipes (a collapsed version of task-depends.dot). + + recipe-depends.dot: + Shows dependencies between recipes (i.e. a collapsed version of + task-depends.dot). - task-depends.dot: - Shows dependencies between tasks. This matches bitbake's internal task execution list. + + task-depends.dot: + Shows dependencies between tasks. + These dependencies match BitBake's internal task execution list. - pn-buildlist: + + pn-buildlist: Shows a simple list of targets that are to be built. -- cgit v1.2.3-54-g00ecf