From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from 64.mail-out.ovh.net ([91.121.185.65]:33241 "HELO 64.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755989Ab1EQSQj (ORCPT ); Tue, 17 May 2011 14:16:39 -0400 Date: Tue, 17 May 2011 20:05:18 +0200 From: Jean-Christophe PLAGNIOL-VILLARD Subject: Re: [PATCH] kconfig: Only generate config_is_xxx for bool and tristate options Message-ID: <20110517180518.GC18699@game.jcrosoft.org> References: <1305646532-29114-1-git-send-email-mmarek@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1305646532-29114-1-git-send-email-mmarek@suse.cz> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Michal Marek Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org 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.