]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
core: add a make target to check the dependencies
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 7 Feb 2016 21:34:29 +0000 (22:34 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Feb 2016 22:21:55 +0000 (23:21 +0100)
Add a make target that will checks the dependencies of all packages.
This will currently only detect circular dependencies, but more tests
can be added later if need be.

This can then be used in the autobuilders to automatically report
dependency issues.

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>
Makefile

index 7c5daa43b21a1d5c0d0412529c3e417993e52c56..9daf0110cbc80d79834e42b61824b46424ab8d80 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -733,6 +733,10 @@ graph-size:
                --file-size-csv $(GRAPHS_DIR)/file-size-stats.csv \
                --package-size-csv $(GRAPHS_DIR)/package-size-stats.csv
 
+check-dependencies:
+       @cd "$(CONFIG_DIR)"; \
+       $(TOPDIR)/support/scripts/graph-depends -C
+
 else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
 
 all: menuconfig