Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030467AbWKOOLK (ORCPT ); Wed, 15 Nov 2006 09:11:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030478AbWKOOLK (ORCPT ); Wed, 15 Nov 2006 09:11:10 -0500 Received: from raven.upol.cz ([158.194.120.4]:27067 "EHLO raven.upol.cz") by vger.kernel.org with ESMTP id S1030467AbWKOOLJ (ORCPT ); Wed, 15 Nov 2006 09:11:09 -0500 Date: Wed, 15 Nov 2006 14:17:35 +0000 To: Valdis.Kletnieks@vt.edu, Jan Beulich , draconx@gmail.com, jpdenheijer@gmail.com, Andrew Morton , Sam Ravnborg , Andi Kleen , LKML Subject: kbuild-mm: $(objtree)/knull vs mktemp (was Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch) Message-ID: <20061115141735.GA18137@flower.upol.cz> References: <200610290816.55886.ak@suse.de> <20061029225234.GA31648@uranus.ravnborg.org> <4545C2D8.76E4.0078.0@novell.com> <200610301522.k9UFMXmM004701@turing-police.cc.vt.edu> <20061031002757.GF2933@quickstop.soohrt.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061031002757.GF2933@quickstop.soohrt.org> User-Agent: Mutt/1.5.13 (2006-08-11) From: Oleg Verych Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 767 Lines: 22 On Tue, Oct 31, 2006 at 01:27:57AM +0100, Horst Schirmeier wrote: > # Immortal knull for mortals and roots > define knull > $(shell \ > if test ! -L knull; \ > then rm -f knull; ln -s /dev/null knull; \ > fi; \ > echo knull) > endef So, i think this is much better than mktemp and friends. Current -mm have +4 temp files after every make help, make, make something. I'm steel looking forward for comments from (busy) developers, like Sam. Now i have my laptop back and i can finish this up. Hm? ____ - 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/