Makefile: use the package infra based external-deps

This commit changes the global 'external-deps' target to use the newly
introduced per-package <pkg>-all-external-deps, instead of relying on
the 'source' target with a custom DL_MODE.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
Thomas Petazzoni 2015-04-26 11:51:01 +02:00
parent 671b0e167d
commit 7e679ccb4c

View File

@ -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)