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

Naumann Andreas ANaumann at ultratronik.de
Fri Mar 22 07:53:51 UTC 2013


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

---
 package/pkg-generic.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 8d964a1..595ad1b 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -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
-- 
1.8.1.1


end

------------------------------------------------------------------------------
Dipl.-Ing. (FH)
Andreas Naumann
Embedded Software
T +49 8105 77839-363
F +49 8105 77839-850
ANaumann at ultratronik.de
www.ultratronik.de
Dornierstraße 9
82205 Gilching
ULTRATRONIK
LÖSUNGEN FÜR IHREN ERFOLG - SOLUTIONS FOR YOUR SUCCESS

------------------------------------------------------------------------------ 
Geschäftsführer: Dipl.-Ing. Wolfgang Sorg, Dipl.-Kfm. Alexander Sorg
Sitz der Gesellschaft: Gilching
Registergericht München HRB 49567 (Ultratronik Vertriebs GmbH)
Registergericht München HRB 55584 (Ultratronik GmbH)

------------------------------------------------------------------------------


More information about the buildroot mailing list