All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] graph-depends: fix when $(O) is a relative path
@ 2014-06-18 22:10 Arnout Vandecappelle
  2014-06-20 20:04 ` Yann E. MORIN
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Arnout Vandecappelle @ 2014-06-18 22:10 UTC (permalink / raw)
  To: buildroot

The graph-depends commands cd into the CONFIG_DIR and run the script
from there. However, this means that when $(O) is a relative path, it
will no longer be correct.  Therefore, use $(BASE_DIR) instead of $(O).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 5c82355..dd350b6 100644
--- a/Makefile
+++ b/Makefile
@@ -676,8 +676,8 @@ graph-depends:
 	@$(INSTALL) -d $(O)/graphs
 	@cd "$(CONFIG_DIR)"; \
 	$(TOPDIR)/support/scripts/graph-depends $(BR2_GRAPH_DEPS_OPTS) \
-	|tee $(O)/graphs/$(@).dot \
-	|dot $(BR2_GRAPH_DOT_OPTS) -T$(BR_GRAPH_OUT) -o $(O)/graphs/$(@).$(BR_GRAPH_OUT)
+	|tee $(BASE_DIR)/graphs/$(@).dot \
+	|dot $(BR2_GRAPH_DOT_OPTS) -T$(BR_GRAPH_OUT) -o $(BASE_DIR)/graphs/$(@).$(BR_GRAPH_OUT)
 
 else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
 
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-06-29  8:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-18 22:10 [Buildroot] [PATCH] graph-depends: fix when $(O) is a relative path Arnout Vandecappelle
2014-06-20 20:04 ` Yann E. MORIN
2014-06-20 20:07   ` Arnout Vandecappelle
2014-06-20 20:14     ` Yann E. MORIN
2014-06-23 20:51   ` Yann E. MORIN
2014-06-20 20:55 ` Yann E. MORIN
2014-06-23  5:28   ` Arnout Vandecappelle
2014-06-23 17:03     ` Yann E. MORIN
2014-06-23 19:16       ` Arnout Vandecappelle
2014-06-23 20:48         ` Yann E. MORIN
2014-06-29  8:52 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.