From patchwork Fri Mar 22 15:56:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Naumann X-Patchwork-Id: 230105 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id A68562C009E for ; Sat, 23 Mar 2013 03:03:23 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 91CB6A0388; Fri, 22 Mar 2013 16:03:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ugCvMLJitp1i; Fri, 22 Mar 2013 16:03:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E2FD8A0097; Fri, 22 Mar 2013 16:03:18 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id AE7AE8F75E for ; Fri, 22 Mar 2013 16:03:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1B9F58C93E for ; Fri, 22 Mar 2013 16:03:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f80Izi+vi9N3 for ; Fri, 22 Mar 2013 16:03:13 +0000 (UTC) X-Greylist: delayed 00:06:18 by SQLgrey-1.7.6 Received: from dd5612.kasserver.com (dd5612.kasserver.com [85.13.130.143]) by whitealder.osuosl.org (Postfix) with ESMTPS id C6FC38CA7E for ; Fri, 22 Mar 2013 16:03:12 +0000 (UTC) Received: from [192.168.240.148] (mail.ultratronik.de [82.100.224.114]) by dd5612.kasserver.com (Postfix) with ESMTPSA id A4037860332 for ; Fri, 22 Mar 2013 16:56:51 +0100 (CET) Message-ID: <514C7F46.8070806@andin.de> Date: Fri, 22 Mar 2013 16:56:54 +0100 From: Andreas Naumann User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: buildroot@busybox.net Subject: [Buildroot] [PATCH] -rsync: Reincluding core files and folders, which got kicked out by --cvs-exclude option. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net The --cvs-exclude option also excludes 'core', which when rsyncing e.g. a linux tree is less than optimal.. Signed-off-by: Andreas Naumann Acked-by: Thomas De Schampheleire Tested-by: Thomas De Schampheleire --- package/pkg-generic.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) # Handle the SOURCE_CHECK and SHOW_EXTERNAL_DEPS cases for rsynced 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 $@