Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758812Ab1EMT42 (ORCPT ); Fri, 13 May 2011 15:56:28 -0400 Received: from cantor.suse.de ([195.135.220.2]:53550 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754037Ab1EMT41 (ORCPT ); Fri, 13 May 2011 15:56:27 -0400 Message-ID: <4DCD8CE4.4090404@suse.cz> Date: Fri, 13 May 2011 21:56:20 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8 MIME-Version: 1.0 To: matt mooney Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [Resend PATCH] package: Makefile: fix perf target bug References: <1d7d3b31c0da82ce8ce75778922155b7004a8f7e.1305224477.git.mfm@muteddisk.com> <4DCC4365.3030907@suse.cz> <4DCC4F05.7010306@suse.cz> <4DCCEB48.7030602@suse.cz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 774 Lines: 18 On 13.5.2011 20:52, matt mooney wrote: > So the real problem is that tools/perf/MANIFEST contains wildcards, > and when git archive is run, file name expansion isn't working > properly. By adding the $(srctree) as a prefix, globbing works but > then git archive requires --work-tree to be set. I see. So how about git --git-dir=$(srctree)/.git archive ... \ $$(cd $(srctree); echo $$(cat tools/perf/MANIFEST)) ? That does exactly the same as before the patch, just changes to $(srctree) so that the expansion works. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/