kernel_optimize_test/scripts/kconfig
Michal Marek 2a11c8ea20 kconfig: Introduce IS_ENABLED(), IS_BUILTIN() and IS_MODULE()
Replace the config_is_*() macros with a variant that allows for grepping
for usage of CONFIG_* options in the code. Usage:

  if (IS_ENABLED(CONFIG_NUMA))

or

  #if IS_ENABLED(CONFIG_NUMA)

The IS_ENABLED() macro evaluates to 1 if the argument is set (to either 'y'
or 'm'), IS_BUILTIN() tests if the option is 'y' and IS_MODULE() test if
the option is 'm'. Only boolean and tristate options are supported.

Reviewed-by: Arnaud Lacombe <lacombar@gmail.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2011-07-29 21:53:30 +02:00
..
lxdialog kconfig: fix menuconfig on debian lenny 2010-09-20 14:09:31 +02:00
.gitignore scripts: add nconf into gitignore file 2010-06-03 10:12:40 +02:00
check.sh kbuild: check if we can link gettext not just compile 2007-10-12 21:13:50 +02:00
conf.c kconfig/conf: mark xfgets() private 2011-07-02 01:04:40 -04:00
confdata.c kconfig: Introduce IS_ENABLED(), IS_BUILTIN() and IS_MODULE() 2011-07-29 21:53:30 +02:00
expr.c kconfig: use calloc() for expr allocation 2011-07-02 01:04:37 -04:00
expr.h kconfig: nuke reference to SWIG 2011-06-06 15:32:18 -04:00
gconf.c kconfig/gconf: kill deadcode 2011-06-06 15:32:22 -04:00
gconf.glade scripts/kconfig/gconf.glade Update broken web addresses. 2010-09-17 16:54:42 +02:00
images.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kxgettext.c kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
lex.zconf.c_shipped kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
lkc_proto.h kconfig: introduce specialized printer 2011-07-01 16:23:27 +02:00
lkc.h Merge branch 'kconfig-trivial' of git://github.com/lacombar/linux-2.6 into kbuild/kconfig 2011-07-04 11:24:10 +02:00
Makefile kconfig/gconf: silent missing prototype warnings 2011-06-06 15:32:23 -04:00
mconf.c kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
menu.c kconfig: do not overwrite symbol direct dependency in assignment 2011-06-24 17:21:27 +02:00
nconf.c kconfig/nconf: remove useless conditionnal 2011-07-13 13:54:01 +02:00
nconf.gui.c kbuild: fix typo 2010-08-17 11:00:43 +02:00
nconf.h nconfig: add search support 2010-08-16 22:04:55 +02:00
POTFILES.in kconfig: gettext support for lxdialog 2008-01-28 23:14:39 +01:00
qconf.cc xconfig: Abort close if configuration cannot be saved 2011-07-25 15:50:34 +02:00
qconf.h xconfig: Abort close if configuration cannot be saved 2011-07-25 15:50:34 +02:00
streamline_config.pl trivial: Fix Steven's Copyright typos 2011-02-08 17:14:31 -05:00
symbol.c kconfig: introduce specialized printer 2011-07-01 16:23:27 +02:00
util.c kconfig: add missing <stdlib.h> inclusion 2011-06-06 15:32:16 -04:00
zconf.gperf kconfig: add an option to determine a menu's visibility 2010-11-22 11:27:17 -02:00
zconf.hash.c_shipped kconfig: regen parser 2010-11-22 11:27:32 -02:00
zconf.l kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
zconf.tab.c_shipped kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00
zconf.y kconfig: nuke LKC_DIRECT_LINK cruft 2011-06-06 15:32:20 -04:00