Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] <pkg>-rsync: Reincluding core files and folders, which got kicked out by --cvs-exclude option.
@ 2013-03-22 15:56 Andreas Naumann
  2013-03-24 21:05 ` Peter Korsgaard
  2013-03-24 21:09 ` Peter Korsgaard
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Naumann @ 2013-03-22 15:56 UTC (permalink / raw)
  To: buildroot

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>
---
  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

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] <pkg>-rsync: Reincluding core files and folders, which got kicked out by --cvs-exclude option.
@ 2013-03-22  7:53 Naumann Andreas
  2013-03-22  8:24 ` Thomas De Schampheleire
  0 siblings, 1 reply; 5+ messages in thread
From: Naumann Andreas @ 2013-03-22  7:53 UTC (permalink / raw)
  To: buildroot

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)

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-24 21:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-22 15:56 [Buildroot] [PATCH] <pkg>-rsync: Reincluding core files and folders, which got kicked out by --cvs-exclude option Andreas Naumann
2013-03-24 21:05 ` Peter Korsgaard
2013-03-24 21:09 ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2013-03-22  7:53 Naumann Andreas
2013-03-22  8:24 ` Thomas De Schampheleire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox