From: Thomas Petazzoni Date: Sun, 26 Apr 2015 09:51:01 +0000 (+0200) Subject: Makefile: use the package infra based external-deps X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e679ccb4c10b653839c3b8cea233a96d8556a5b;p=buildroot.git Makefile: use the package infra based external-deps This commit changes the global 'external-deps' target to use the newly introduced per-package -all-external-deps, instead of relying on the 'source' target with a custom DL_MODE. Signed-off-by: Thomas Petazzoni Tested-by: "Yann E. MORIN" Reviewed-by: "Yann E. MORIN" --- diff --git a/Makefile b/Makefile index 6a7581afa1..7649e4ce34 100644 --- a/Makefile +++ b/Makefile @@ -614,8 +614,9 @@ target-post-image: $(TARGETS_ROOTFS) target-finalize source: $(PACKAGES_SOURCE) $(HOST_SOURCE) +_external-deps: $(foreach p,$(PACKAGES),$(p)-all-external-deps) external-deps: - @$(MAKE1) -Bs DL_MODE=SHOW_EXTERNAL_DEPS $(EXTRAMAKEARGS) source | sort -u + @$(MAKE1) -Bs $(EXTRAMAKEARGS) _external-deps | sort -u legal-info-clean: @rm -fr $(LEGAL_INFO_DIR)