summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-26 11:51:12 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-26 19:55:21 +0200
commit17dcad065841b6248043e310e96cf5200fa782ad (patch)
tree3e3284dec17c041114516588595a2da0d31b1b46
parentc73e791bc14df1d6af27e1a47c1e6fbb1218e1c7 (diff)
downloadbuildroot-17dcad065841b6248043e310e96cf5200fa782ad.tar.gz
buildroot-17dcad065841b6248043e310e96cf5200fa782ad.zip
Makefile: implement the 'source' target using the package infrastructure
Now that all the bits are in place, switch the global 'source' target to use the package infrastructure logic. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [with 'make source' (actually together with the next patch).] Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [tested with a randpackageconfig]
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f5ff5746b7..e8a694b694 100644
--- a/Makefile
+++ b/Makefile
@@ -612,7 +612,7 @@ target-post-image: $(TARGETS_ROOTFS) target-finalize
$(call MESSAGE,"Executing post-image script $(s)"); \
$(EXTRA_ENV) $(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
-source: $(PACKAGES_SOURCE) $(HOST_SOURCE)
+source: $(foreach p,$(PACKAGES),$(p)-all-source)
_external-deps: $(foreach p,$(PACKAGES),$(p)-all-external-deps)
external-deps:
OpenPOWER on IntegriCloud