Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for .c files

Adrian Bunk
2008-05-24T21:00:06Z

On Sat, May 24, 2008 at 10:44:38PM +0200, Sam Ravnborg wrote:
> >
> > If you really want to be able to transform all #if's in .c files to
> > if()'s you also have to offer a variant of our MODULE #define.
> 1) I have no pland to replace the current CONFIG_ use.
> 2) I do not follow whay you try to say about our "MODULE #define"
>...

I'm talking about the one set with
MODFLAGS = -DMODULE

But looking through the kernel I have to take my statement back since
there don't seem to be many usages that could (if wanted) be transformed
to if()'s at all (and similarily there wouldn't be many use cases in
the future).

> Sam

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed