[Buildroot] [PATCH 34/35] Makefile: implement the 'source' target using the package infrastructure

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Mar 29 17:33:48 UTC 2015

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 at free-electrons.com>
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index cbfdc0b..3e58e09 100644
--- a/Makefile
+++ b/Makefile
@@ -615,7 +615,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: $(foreach p,$(PACKAGES),$(p)-all-source)
 _external-deps: $(foreach p,$(PACKAGES),$(p)-all-external-deps)

More information about the buildroot mailing list