diff options
| author | Yann E. MORIN <yann.morin.1998@free.fr> | 2013-12-28 18:39:12 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-12-29 12:13:19 +0100 |
| commit | 0cfe3ab88c6e1410ca719801147b1ba566c86d0d (patch) | |
| tree | f84bcc157c5f2064aa014bb361151f48d94230cc /Makefile | |
| parent | e16bf922524bb46f00bfc8f77ccf42e59eff989b (diff) | |
Makefile: expose 'graph-depends' to generate a graph of the dependency tree
Generate the graph of the complete dependency tree by calling:
make graph-depends
It's also possible to generate the graph-depends for a single package:
make PKG-graph-depends
The graphs are generated in $(O)/graphs/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -642,6 +642,11 @@ graph-build: $(O)/build/build-time.log --output=$(O)/graphs/build.pie-$(t).pdf \ $(if $(GRAPH_ALT),--alternate-colors)$(sep)) +graph-depends: + @$(INSTALL) -d $(O)/graphs + @./support/scripts/graph-depends \ + |dot -Tpdf -o $(O)/graphs/$(@).pdf + else # ifeq ($(BR2_HAVE_DOT_CONFIG),y) all: menuconfig @@ -814,6 +819,7 @@ help: @echo ' toolchain - build toolchain' @echo ' <package>-rebuild - force recompile <package>' @echo ' <package>-reconfigure - force reconfigure <package>' + @echo ' <package>-graph-depends - generate graph of the dependency tree for package' @echo @echo 'Configuration:' @echo ' menuconfig - interactive curses-based configurator' @@ -855,6 +861,7 @@ endif @echo ' manual-text - build manual in text' @echo ' manual-epub - build manual in ePub' @echo ' graph-build - generate graphs of the build times' + @echo ' graph-depends - generate graph of the dependency tree' @echo @echo 'Miscellaneous:' @echo ' source - download all sources needed for offline-build' |
