All of lore.kernel.org
 help / color / mirror / Atom feed
From: Coywolf Qi Hunt <coywolf@gmail.com>
To: Ian Campbell <ijc@hellion.org.uk>
Cc: lkml <linux-kernel@vger.kernel.org>, sam@ravnborg.org
Subject: Re: [question] pass CONFIG_FOO to CC problem
Date: Wed, 22 Jun 2005 18:11:07 +0800	[thread overview]
Message-ID: <2cd57c9005062203112f23f89b@mail.gmail.com> (raw)
In-Reply-To: <1119434071.16554.4.camel@icampbell-debian>

On 6/22/05, Ian Campbell <ijc@hellion.org.uk> wrote:
> On Wed, 2005-06-22 at 16:39 +0800, Coywolf Qi Hunt wrote:
> > Hello,
> >
> > I was expecting kbuild passes CONFIG_FOO from .config to CC
> > -DCONFIG_FOO, but it doesn't.  So I have to add
> >
> > ifdef CONFIG_FOO
> > EXTRA_CFLAGS += -DCONFIG_FOO
> > endif
> >
> > Is that the right way? thanks in advance.
> 
> I think you need to #include <linux/config.h>

Yes, exactly. thanks

  reply	other threads:[~2005-06-22 10:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-22  8:39 [question] pass CONFIG_FOO to CC problem Coywolf Qi Hunt
2005-06-22  9:54 ` Ian Campbell
2005-06-22 10:11   ` Coywolf Qi Hunt [this message]
2005-06-22 18:12 ` DervishD
2005-06-23  2:04   ` Coywolf Qi Hunt

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=2cd57c9005062203112f23f89b@mail.gmail.com \
    --to=coywolf@gmail.com \
    --cc=coywolf@lovecn.org \
    --cc=ijc@hellion.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.