From: Yann E. MORIN Date: Sun, 7 Feb 2016 21:34:29 +0000 (+0100) Subject: core: add a make target to check the dependencies X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9dac986696a34d30a1e1408df961710edc748bdf;p=buildroot.git core: add a make target to check the dependencies 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" Cc: Thomas Petazzoni Signed-off-by: Thomas Petazzoni --- diff --git a/Makefile b/Makefile index 7c5daa43b2..9daf0110cb 100644 --- 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