linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Preprocessing output of kernel sources
@ 2006-04-07  6:40 Ram
  2006-04-07  7:20 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Ram @ 2006-04-07  6:40 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Preprocessing output of kernel sources
  2006-04-07  6:40 Preprocessing output of kernel sources Ram
@ 2006-04-07  7:20 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2006-04-07  7:20 UTC (permalink / raw)
  To: Ram; +Cc: linux-kernel

On Thu, Apr 06, 2006 at 11:40:38PM -0700, Ram wrote:
> 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?
make dir/file.i is your friend.
It will preprocess the specified file with relevant options.

	Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-07  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-07  6:40 Preprocessing output of kernel sources Ram
2006-04-07  7:20 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).