diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-26 11:51:12 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-26 19:55:21 +0200 |
commit | 17dcad065841b6248043e310e96cf5200fa782ad (patch) | |
tree | 3e3284dec17c041114516588595a2da0d31b1b46 | |
parent | c73e791bc14df1d6af27e1a47c1e6fbb1218e1c7 (diff) | |
download | buildroot-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |