kconfig: autogenerated config_is_xxx macro
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 6 May 2011 05:03:49 +0000 (07:03 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 17 May 2011 13:59:23 +0000 (15:59 +0200)
commitde125187dc17e3715ba983adf60faecfdc3a64c4
tree3e466c01d3dac4c2117e3e0f9f6a6dfe0d403247
parent76ce94a37187327c09343a98726ccea81f9eab54
kconfig: autogenerated config_is_xxx macro

this will allow to use to use

if(config_is_xxx())
if(config_is_xxx_module())

in the code instead of

#ifdef CONFIG_xxx
#ifdef CONFIG_xxx_MODULE

and now let the compiler remove the non usefull code and not the
pre-processor

as done in the mach-types for arm as exmaple

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/confdata.c