mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ram <vshrirama@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Preprocessing output of kernel sources
Date: Thu, 6 Apr 2006 23:40:38 -0700	[thread overview]
Message-ID: <8bf247760604062340m7b83f0bbpe90a9222709a3a5e@mail.gmail.com> (raw)

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

             reply	other threads:[~2006-04-07  6:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-07  6:40 Ram [this message]
2006-04-07  7:20 ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8bf247760604062340m7b83f0bbpe90a9222709a3a5e@mail.gmail.com \
    --to=vshrirama@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®