preprocessing kernel sources

Meelis Roos (mroos@tartu.cyber.ee)
Wed, 12 Aug 1998 13:19:26 +0300 (EEST)


What is the best method to let C preprocessor to parse all the
kernel source files to resolve #ifdef's after I have configured the
kernel? Sometimes I would like to do this when I'm lost in #if...-s.
I'd like to see even just the kernel itself, no modules since they need
diffeent define's.

There are over 100 Makefiles in the source tree, I don't feel like
modifying them for recursive make.

Simple find & gcc -E does not suffice since Makefiles give additional
defines like __KERNEL__. Or do they suffice?

-- 
Meelis Roos (mroos@tartu.cyber.ee)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html