public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [question] pass CONFIG_FOO to CC problem
@ 2005-06-22  8:39 Coywolf Qi Hunt
  2005-06-22  9:54 ` Ian Campbell
  2005-06-22 18:12 ` DervishD
  0 siblings, 2 replies; 5+ messages in thread
From: Coywolf Qi Hunt @ 2005-06-22  8:39 UTC (permalink / raw)
  To: lkml; +Cc: sam

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/

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

end of thread, other threads:[~2005-06-23  2:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-06-22 18:12 ` DervishD
2005-06-23  2:04   ` Coywolf Qi Hunt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox