All of lore.kernel.org
 help / color / mirror / Atom feed
From: Coywolf Qi Hunt <coywolf@gmail.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: sam@ravnborg.org
Subject: [question] pass CONFIG_FOO to CC problem
Date: Wed, 22 Jun 2005 16:39:53 +0800	[thread overview]
Message-ID: <2cd57c90050622013937d2c209@mail.gmail.com> (raw)

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.

-- 
Coywolf Qi Hunt
http://ahbl.org/~coywolf/

             reply	other threads:[~2005-06-22  8:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-22  8:39 Coywolf Qi Hunt [this message]
2005-06-22  9:54 ` [question] pass CONFIG_FOO to CC problem Ian Campbell
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=2cd57c90050622013937d2c209@mail.gmail.com \
    --to=coywolf@gmail.com \
    --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.