Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 30 Dec 2001 07:06:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 30 Dec 2001 07:06:03 -0500 Received: from ns.caldera.de ([212.34.180.1]:43705 "EHLO ns.caldera.de") by vger.kernel.org with ESMTP id ; Sun, 30 Dec 2001 07:05:52 -0500 Date: Sun, 30 Dec 2001 13:05:29 +0100 From: Christoph Hellwig To: Kai Germaschewski Cc: Linus Torvalds , linux-kernel@vger.kernel.org, Keith Owens , kbuild-devel@lists.sourceforge.net Subject: Re: [kbuild-devel] Re: State of the new config & build system Message-ID: <20011230130529.A27210@caldera.de> Mail-Followup-To: Christoph Hellwig , Kai Germaschewski , Linus Torvalds , linux-kernel@vger.kernel.org, Keith Owens , kbuild-devel@lists.sourceforge.net In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from kai@tp1.ruhr-uni-bochum.de on Sat, Dec 29, 2001 at 12:44:06AM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 29, 2001 at 12:44:06AM +0100, Kai Germaschewski wrote: > But yes, it seems possible to replace the -MD dependency file, which > depends on a specific config, with a generic dependency file, which knows > about our #ifdef CONFIG_XXX and translates them to the corresponding > ifeq(CONFIG_,) Makefile syntax. It'd make an interesting project, but it > effectively means re-implementing a C preprocessor. Michael already wrote such a program. It's part of the dancing makefiles patch, which btw is a kernel build system that is not only correct but also faster than the old one.. It's scripts/mk/fix_dep.c in a kernel tree with the following patch applied: ftp://ftp.kernel.org/pub/linux/kernel/projects/kbuild/dancing-makefiles-2.4.0-test10.bz2 - 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/