Makefile: support running graph-depends from out-of-tree
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
195235c9d9
commit
56eb3944d5
3
Makefile
3
Makefile
@ -647,7 +647,8 @@ graph-build: $(O)/build/build-time.log
|
|||||||
|
|
||||||
graph-depends:
|
graph-depends:
|
||||||
@$(INSTALL) -d $(O)/graphs
|
@$(INSTALL) -d $(O)/graphs
|
||||||
@./support/scripts/graph-depends \
|
@cd "$(CONFIG_DIR)"; \
|
||||||
|
$(TOPDIR)/support/scripts/graph-depends \
|
||||||
|dot -T$(BR2_GRAPH_OUT) -o $(O)/graphs/$(@).$(BR2_GRAPH_OUT)
|
|dot -T$(BR2_GRAPH_OUT) -o $(O)/graphs/$(@).$(BR2_GRAPH_OUT)
|
||||||
|
|
||||||
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||||
|
@ -470,7 +470,8 @@ $(1)-show-depends:
|
|||||||
|
|
||||||
$(1)-graph-depends:
|
$(1)-graph-depends:
|
||||||
@$(INSTALL) -d $(O)/graphs
|
@$(INSTALL) -d $(O)/graphs
|
||||||
@./support/scripts/graph-depends $(1) \
|
@cd "$(CONFIG_DIR)"; \
|
||||||
|
$(TOPDIR)/support/scripts/graph-depends $(1) \
|
||||||
|dot -T$(BR2_GRAPH_OUT) -o $(O)/graphs/$$(@).$(BR2_GRAPH_OUT)
|
|dot -T$(BR2_GRAPH_OUT) -o $(O)/graphs/$$(@).$(BR2_GRAPH_OUT)
|
||||||
|
|
||||||
$(1)-dirclean: $$($(2)_TARGET_DIRCLEAN)
|
$(1)-dirclean: $$($(2)_TARGET_DIRCLEAN)
|
||||||
|
Loading…
Reference in New Issue
Block a user