summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-26 11:51:06 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-26 19:53:02 +0200
commitf9b928244a00106d01ee7ac5768072233fc6c5d2 (patch)
tree3303a7b64caa5f91bb7189ea6fae1c3c84b23d19
parente16ed77c5db07a0b1207970ef2ac5ac0775148b3 (diff)
downloadbuildroot-f9b928244a00106d01ee7ac5768072233fc6c5d2.tar.gz
buildroot-f9b928244a00106d01ee7ac5768072233fc6c5d2.zip
Makefile: implement a package based source-check target
This commit switches the implementation of the global source-check target to use a package infrastructure based mechanism, using the $(1)-all-source-check target added in the previous commit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a44232567d..f5ff5746b7 100644
--- a/Makefile
+++ b/Makefile
@@ -619,8 +619,7 @@ external-deps:
@$(MAKE1) -Bs $(EXTRAMAKEARGS) _external-deps | sort -u
# check if download URLs are outdated
-source-check:
- $(MAKE1) DL_MODE=SOURCE_CHECK $(EXTRAMAKEARGS) source
+source-check: $(foreach p,$(PACKAGES),$(p)-all-source-check)
legal-info-clean:
@rm -fr $(LEGAL_INFO_DIR)
OpenPOWER on IntegriCloud