Re: [PATCH] kconfig: Only generate config_is_xxx for bool andtristate options

From: Jean-Christophe PLAGNIOL-VILLARD
Date: Tue May 17 2011 - 14:16:43 EST


On 17:35 Tue 17 May , Michal Marek wrote:
> For strings and integers, the config_is_xxx macros are useless and
> sometimes misleading:
except if the interger or hex can be at 0
so the config_is_ is usefull to known that it's enabled
>
> #define CONFIG_INITRAMFS_SOURCE ""
> #define config_is_initramfs_source() 1
here agreed but I'm nor sure if it's a special case or if it will we the case
for most of the string

Best Regards,
J.
--
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/