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 _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel