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:
parent
671b0e167d
commit
7e679ccb4c
3
Makefile
3
Makefile
@ -614,8 +614,9 @@ target-post-image: $(TARGETS_ROOTFS) target-finalize
|
|||||||
|
|
||||||
source: $(PACKAGES_SOURCE) $(HOST_SOURCE)
|
source: $(PACKAGES_SOURCE) $(HOST_SOURCE)
|
||||||
|
|
||||||
|
_external-deps: $(foreach p,$(PACKAGES),$(p)-all-external-deps)
|
||||||
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:
|
legal-info-clean:
|
||||||
@rm -fr $(LEGAL_INFO_DIR)
|
@rm -fr $(LEGAL_INFO_DIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user