From d3e182bc18ff2894f1efc8aad3d508dd432c996e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 12 Feb 2017 19:23:09 +0000 Subject: 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. Signed-off-by: Richard Purdie --- doc/bitbake-user-manual/bitbake-user-manual-intro.xml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'doc') diff --git a/doc/bitbake-user-manual/bitbake-user-manual-intro.xml b/doc/bitbake-user-manual/bitbake-user-manual-intro.xml index d602c469b..daf5b35b6 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-intro.xml +++ b/doc/bitbake-user-manual/bitbake-user-manual-intro.xml @@ -666,19 +666,14 @@ - When you generate a dependency graph, BitBake writes four files + When you generate a dependency graph, BitBake writes three files to the current working directory: - package-depends.dot: - Shows BitBake's knowledge of dependencies between - runtime targets. - - pn-depends.dot: - Shows dependencies between build-time targets - (i.e. recipes). + recipe-depends.dot: + Shows dependencies between recipes (a collapsed version of task-depends.dot). task-depends.dot: - Shows dependencies between tasks. + Shows dependencies between tasks. This matches bitbake's internal task execution list. pn-buildlist: Shows a simple list of targets that are to be built. -- cgit 1.2.3-korg