From: Ian Campbell <ijc@hellion.org.uk>
To: coywolf@lovecn.org
Cc: lkml <linux-kernel@vger.kernel.org>, sam@ravnborg.org
Subject: Re: [question] pass CONFIG_FOO to CC problem
Date: Wed, 22 Jun 2005 10:54:30 +0100 [thread overview]
Message-ID: <1119434071.16554.4.camel@icampbell-debian> (raw)
In-Reply-To: <2cd57c90050622013937d2c209@mail.gmail.com>
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>
Ian.
--
Ian Campbell
BOFH excuse #186:
permission denied
next prev parent reply other threads:[~2005-06-22 10:01 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 [this message]
2005-06-22 10:11 ` Coywolf Qi Hunt
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=1119434071.16554.4.camel@icampbell-debian \
--to=ijc@hellion.org.uk \
--cc=coywolf@lovecn.org \
--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.