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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Saturday, May 24, 2008 - 1:48 pm

Sam Ravnborg wrote:

How about rather than defining a pile of new constants, we just define:

#define KCONFIG(x)   (x - 0)      /* XXX choose better macro name */

That would allow CONFIG_X variables to be used in C expressions, while 
still coping with non-existent/unknown CONFIG vars.  Also saves on a lot 
of #defines...

    J
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for . ..., Jeremy Fitzhardinge, (Sat May 24, 1:14 pm)
[PATCH] x86: use defconfig as last resort, Sam Ravnborg, (Sat May 24, 1:37 pm)
Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for . ..., Jeremy Fitzhardinge, (Sat May 24, 1:48 pm)
Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for . ..., Jeremy Fitzhardinge, (Sat May 24, 1:56 pm)
Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for . ..., Jeremy Fitzhardinge, (Sat May 24, 1:58 pm)
Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for . ..., Jeremy Fitzhardinge, (Sat May 24, 2:13 pm)
Re: [PATCH] x86: use defconfig as last resort, Linus Torvalds, (Sat May 24, 6:30 pm)
Re: [PATCH] x86: use defconfig as last resort, Sam Ravnborg, (Sat May 24, 11:15 pm)
Re: [PATCH] x86: use defconfig as last resort, Sam Ravnborg, (Sat May 24, 11:22 pm)