Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Naumann <dev@andin.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] <pkg>-rsync: Reincluding core files and folders, which got kicked out by --cvs-exclude option.
Date: Fri, 22 Mar 2013 16:56:54 +0100	[thread overview]
Message-ID: <514C7F46.8070806@andin.de> (raw)

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

             reply	other threads:[~2013-03-22 15:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-22 15:56 Andreas Naumann [this message]
2013-03-24 21:05 ` [Buildroot] [PATCH] <pkg>-rsync: Reincluding core files and folders, which got kicked out by --cvs-exclude option 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=514C7F46.8070806@andin.de \
    --to=dev@andin.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox