summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-06-08 16:03:52 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-06-08 16:43:32 +0200
commit4cca66f877997c34d0c28d00f8dcfee049db5c19 (patch)
tree2e0e0317e9e0d34dad493eae08fbfcb9694e3b27 /Makefile
parent47aeebd95619e41f2d6bcb4af72acf958b2b1ef4 (diff)
downloadbuildroot-4cca66f877997c34d0c28d00f8dcfee049db5c19.tar.gz
buildroot-4cca66f877997c34d0c28d00f8dcfee049db5c19.zip
graph-depends: add option to pass arbitrary dot options
Kids nowaday seem to prefer a left-to-right drawing rather than the more conventional and historical top-down drawing. Rather than multiply the number of environment variables, just add a single one where the user can pass arbitrary dot options, such as: make BR2_GRAPH_DOT_OPTS=-Grankdir=LR graph-depends Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0b4264a5d5..08696f757c 100644
--- a/Makefile
+++ b/Makefile
@@ -675,7 +675,7 @@ graph-depends:
@cd "$(CONFIG_DIR)"; \
$(TOPDIR)/support/scripts/graph-depends $(BR2_GRAPH_DEPS_OPTS) \
|tee $(O)/graphs/$(@).dot \
- |dot -T$(BR_GRAPH_OUT) -o $(O)/graphs/$(@).$(BR_GRAPH_OUT)
+ |dot $(BR2_GRAPH_DOT_OPTS) -T$(BR_GRAPH_OUT) -o $(O)/graphs/$(@).$(BR_GRAPH_OUT)
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
OpenPOWER on IntegriCloud