summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-26 11:51:01 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-26 19:50:48 +0200
commit7e679ccb4c10b653839c3b8cea233a96d8556a5b (patch)
tree268d3a69028a1e5452eb651ca3d6ddb83a10c80d /Makefile
parent671b0e167d25b187aa43129631423acb3047fa04 (diff)
downloadbuildroot-7e679ccb4c10b653839c3b8cea233a96d8556a5b.tar.gz
buildroot-7e679ccb4c10b653839c3b8cea233a96d8556a5b.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud