Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755562Ab1EPUdc (ORCPT ); Mon, 16 May 2011 16:33:32 -0400 Received: from cantor2.suse.de ([195.135.220.15]:48147 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755254Ab1EPUda (ORCPT ); Mon, 16 May 2011 16:33:30 -0400 Message-ID: <4DD18A18.5050006@suse.cz> Date: Mon, 16 May 2011 22:33:28 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8 MIME-Version: 1.0 To: Arnaud Lacombe Cc: Valdis.Kletnieks@vt.edu, Jean-Christophe PLAGNIOL-VILLARD , 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 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 877 Lines: 22 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. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/