[Buildroot] [git commit] <pkg>-rsync: Reincluding core files and folders, which got kicked out by --cvs-exclude option.

Peter Korsgaard jacmet at sunsite.dk
Sun Mar 24 21:07:56 UTC 2013

commit: http://git.buildroot.net/buildroot/commit/?id=1539efc5d525641a9ac13a6c96bea7fdd45ed183
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The --cvs-exclude option also excludes 'core', which when rsyncing
e.g. a linux tree is less than optimal..

Signed-off-by: Andreas Naumann <anaumann at ultratronik.de>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
 package/pkg-generic.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index afb90bf..901bcf7 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -62,7 +62,7 @@ $(BUILD_DIR)/%/.stamp_extracted:
 	@$(call MESSAGE,"Syncing from source dir $(SRCDIR)")
 	@test -d $(SRCDIR) || (echo "ERROR: $(SRCDIR) does not exist" ; exit 1)
-	rsync -au --cvs-exclude $(SRCDIR)/ $(@D)
+	rsync -au --cvs-exclude --include core $(SRCDIR)/ $(@D)
 	$(Q)touch $@
 # Handle the SOURCE_CHECK and SHOW_EXTERNAL_DEPS cases for rsynced

More information about the buildroot mailing list