diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-04-19 22:17:08 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-04-19 23:50:39 +0200 |
commit | 994fcc4a2b028fdbbe995622860964dacb44c4e9 (patch) | |
tree | 736fd39a0940668ee7f6073da259c6e9a3386988 | |
parent | 8709cb950c516c437aa5c094262d1bb15ca68797 (diff) | |
download | buildroot-994fcc4a2b028fdbbe995622860964dacb44c4e9.tar.gz buildroot-994fcc4a2b028fdbbe995622860964dacb44c4e9.zip |
graphs: store and keep intermediate 'dot' program for graph-depends
Currently, graph-depends (and PKG-graph-depends) do not store the
intermediate 'dot' program.
Some users would like to get the dot program to be able to further
customise the generated graphs (eg. modify the layout, colorise some
of the packages...)
So, store the intermediate dot program alongside the generated graph.
Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | package/pkg-generic.mk | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -670,6 +670,7 @@ graph-depends: @$(INSTALL) -d $(O)/graphs @cd "$(CONFIG_DIR)"; \ $(TOPDIR)/support/scripts/graph-depends -d $(BR_GRAPH_DEPTH) \ + |tee $(O)/graphs/$(@).dot \ |dot -T$(BR_GRAPH_OUT) -o $(O)/graphs/$(@).$(BR_GRAPH_OUT) else # ifeq ($(BR2_HAVE_DOT_CONFIG),y) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 8a62d4c120..cf02210a25 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -496,6 +496,7 @@ $(1)-graph-depends: @$(INSTALL) -d $(O)/graphs @cd "$(CONFIG_DIR)"; \ $(TOPDIR)/support/scripts/graph-depends -p $(1) -d $(BR_GRAPH_DEPTH) \ + |tee $(O)/graphs/$$(@).dot \ |dot -T$(BR_GRAPH_OUT) -o $(O)/graphs/$$(@).$(BR_GRAPH_OUT) $(1)-dirclean: $$($(2)_TARGET_DIRCLEAN) |