<pkg>-rsync: Reincluding core files and folders, which got kicked out by --cvs-exclud...
authorAndreas Naumann <dev@andin.de>
Fri, 22 Mar 2013 15:56:54 +0000 (16:56 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 24 Mar 2013 21:07:56 +0000 (22:07 +0100)
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@ultratronik.de>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/pkg-generic.mk

index afb90bf7916139477d5c52f55dd6e5fdfff3bc34..901bcf7baedd304a22e39580ce76849e18b97a7a 100644 (file)
@@ -62,7 +62,7 @@ $(BUILD_DIR)/%/.stamp_extracted:
 $(BUILD_DIR)/%/.stamp_rsynced:
        @$(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