lkml.org 
[lkml]   [2001]   [Dec]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 30 Dec 2001 13:05:29 +0100
FromChristoph Hellwig <>
SubjectRe: [kbuild-devel] Re: State of the new config & build system
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/

\
 
 \ /
  Last update: 2005-03-22 13:14    [from the cache]
©2003-2008