From patchwork Fri Mar 22 07:53:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Naumann X-Patchwork-Id: 229905 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 962772C00D1 for ; Fri, 22 Mar 2013 19:20:19 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2708510246B; Fri, 22 Mar 2013 08:20:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OVwPSbEPmIHt; Fri, 22 Mar 2013 08:20:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 26BE9102496; Fri, 22 Mar 2013 08:20:01 +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 CCF1D8F753 for ; Fri, 22 Mar 2013 08:20:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4931B8CF94 for ; Fri, 22 Mar 2013 08:20:14 +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 YGSCcmG5Zqaf for ; Fri, 22 Mar 2013 08:20:12 +0000 (UTC) X-Greylist: delayed 00:26:21 by SQLgrey-1.7.6 Received: from mail.ultratronik.de (mail.ultratronik.de [82.100.224.114]) by whitealder.osuosl.org (Postfix) with ESMTP id F10768BEBB for ; Fri, 22 Mar 2013 08:20:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.ultratronik.de (Postfix) with ESMTP id E9FC16374F for ; Fri, 22 Mar 2013 08:53:51 +0100 (CET) Received: from mail.ultratronik.de ([127.0.0.1]) by localhost (mail.ultratronik.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10054-03 for ; Fri, 22 Mar 2013 08:53:51 +0100 (CET) Received: from sv03ultra002.ultratronik.de (unknown [192.168.100.2]) by mail.ultratronik.de (Postfix) with ESMTP id D9EFB63727 for ; Fri, 22 Mar 2013 08:53:51 +0100 (CET) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4913 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Fri, 22 Mar 2013 08:53:51 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] -rsync: Reincluding core files and folders, which got kicked out by --cvs-exclude option. thread-index: Ac4ldOgMa/DL4d2MSKGZs+2D18u+MQAAKjhA From: "Naumann Andreas" Importance: normal Priority: normal To: X-Virus-Scanned: by SmoothZap (http://www.smoothwall.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.. 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 $@