From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752822Ab1EQBT2 (ORCPT ); Mon, 16 May 2011 21:19:28 -0400 Received: from 64.mail-out.ovh.net ([91.121.185.65]:40607 "HELO 64.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752095Ab1EQBT0 (ORCPT ); Mon, 16 May 2011 21:19:26 -0400 Date: Tue, 17 May 2011 03:08:09 +0200 From: Jean-Christophe PLAGNIOL-VILLARD To: Michal Marek Cc: Arnaud Lacombe , Valdis.Kletnieks@vt.edu, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, x86@kernel.org, Ingo Molnar Subject: Re: [PATCH v2] kconfig: autogenerated config_is_xxx macro Message-ID: <20110517010809.GC13466@game.jcrosoft.org> References: <1304658229-30820-1-git-send-email-plagnioj@jcrosoft.com> <20110507015041.GA21017@game.jcrosoft.org> <4DC7AB57.9050002@suse.cz> <20110513080909.GO18952@game.jcrosoft.org> <32557.1305572616@localhost> <4DD1838D.7030305@suse.cz> <4DD18A18.5050006@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DD18A18.5050006@suse.cz> X-PGP-Key: http://uboot.jcrosoft.org/plagnioj.asc X-PGP-key-fingerprint: 6309 2BBA 16C8 3A07 1772 CC24 DEFC FFA3 279C CE7C User-Agent: Mutt/1.5.20 (2009-06-14) X-Ovh-Tracer-Id: 14779406602921552713 X-Ovh-Remote: 213.251.161.87 (ns32433.ovh.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22:33 Mon 16 May , Michal Marek wrote: > On 16.5.2011 22:24, Arnaud Lacombe wrote: > > Hi, > > > > On Mon, May 16, 2011 at 4:05 PM, Michal Marek wrote: > >> I figure that this feature is not wanted outside of the kernel build, > >> though. So what about an option to 'conf' that controls whether these > >> macros will be generated? > >> > > kconfig internal behaviors are mostly controlled by environment > > variable, which has the advantage to be front-end agnostic, that might > > be better. > > Note that the header file is written by scripts/kconfig/conf > --silentoldconfig, so different front-ends are not an issue. But an > environment variable works fine as well. I want it for ARM, AVR32 and SH too at least so make it optionnal is wished As they do not affect any code # git grep config_is_ 0 result Best Regards, J.