Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161323AbXBGOjp (ORCPT ); Wed, 7 Feb 2007 09:39:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161336AbXBGOjp (ORCPT ); Wed, 7 Feb 2007 09:39:45 -0500 Received: from scrub.xs4all.nl ([194.109.195.176]:60271 "EHLO scrub.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161323AbXBGOjo (ORCPT ); Wed, 7 Feb 2007 09:39:44 -0500 Date: Wed, 7 Feb 2007 15:39:38 +0100 (CET) From: Roman Zippel X-X-Sender: roman@scrub.home To: Oleg Verych cc: LKML , Andrew Morton , Linus Torvalds , Jesper Juhl , Bastian Blank , Sam Ravnborg Subject: Re: [patch 3/3, resend] kbuild: correctly skip tilded backups in localversion files In-Reply-To: <20070206012208.050237000@flower.upol.cz> Message-ID: References: <20070206011819.160359000@flower.upol.cz> <20070206012208.050237000@flower.upol.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 673 Lines: 20 Hi, On Tue, 6 Feb 2007, Oleg Verych wrote: > -nullstring := > -space := $(nullstring) # end of line > +pattern = ".*/localversion[^~]*" > +string = $(shell cat /dev/null \ > + `find $(objtree) $(srctree) -maxdepth 1 -regex $(pattern) | sort`) Calling find here is overkill, if the same can be done with standard make functions. I very much prefer to just add the damn $(notdir ...) and be done with it. bye, Roman - 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/