mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
e16bf92252
commit
0cfe3ab88c
@@ -468,6 +468,11 @@ endif
|
||||
$(1)-show-depends:
|
||||
@echo $$($(2)_DEPENDENCIES)
|
||||
|
||||
$(1)-graph-depends:
|
||||
@$(INSTALL) -d $(O)/graphs
|
||||
@./support/scripts/graph-depends $(1) \
|
||||
|dot -Tpdf -o $(O)/graphs/$$(@).pdf
|
||||
|
||||
$(1)-dirclean: $$($(2)_TARGET_DIRCLEAN)
|
||||
|
||||
$(1)-clean-for-rebuild:
|
||||
|
||||
Reference in New Issue
Block a user