kconfig: Only generate config_is_xxx for bool and tristate options
authorMichal Marek <mmarek@suse.cz>
Tue, 17 May 2011 15:31:53 +0000 (17:31 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 25 May 2011 13:26:25 +0000 (15:26 +0200)
commit4c54f0f846102b05efcc99114ada2b913baab161
treedcecc20a8a60594e2feda5e300257a6b4c86d9e7
parent51f31afd12b28eddccd29a94ffbd41cb15eadd39
kconfig: Only generate config_is_xxx for bool and tristate options

For strings and integers, the config_is_xxx macros are useless and
sometimes misleading:

  #define CONFIG_INITRAMFS_SOURCE ""
  #define config_is_initramfs_source() 1

Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/confdata.c