Preprocessing output of kernel sources

From: Ram
Date: Fri Apr 07 2006 - 02:40:50 EST


Hi,
What is the best way to let C preprocessor to parse all the
kernel source files to resolve #ifdef's after I have configured the
kernel?

There are many Makefiles in the sources, I dont want to modify each one of them.


Indiviually files i can do cc -E.


I would like to have the preproccessed output to be stored in
the format filename.X

ie each file compile must have a filename.X
This would be useful. am not sure how to do it.


I know it has something to do with shell programming. But i feel this
is the right place to ask because some of you might have done this
before.



Any help will be highly appreciated.

thanks and regards,
sriram
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/