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

From: Adrian Bunk
Date: Sat May 24 2008 - 17:00:26 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/