Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754200Ab0KYQhc (ORCPT ); Thu, 25 Nov 2010 11:37:32 -0500 Received: from cantor2.suse.de ([195.135.220.15]:44121 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753451Ab0KYQhb (ORCPT ); Thu, 25 Nov 2010 11:37:31 -0500 Message-ID: <4CEE90C9.8060607@suse.cz> Date: Thu, 25 Nov 2010 17:37:29 +0100 From: Michal Marek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101026 SUSE/3.1.6 Thunderbird/3.1.6 MIME-Version: 1.0 To: Arnaud Lacombe Cc: Steven Rostedt , linux-kernel@vger.kernel.org, Linus Torvalds , Andrew Morton , linux-kbuild@vger.kernel.org, Sam Ravnborg , Roman Zippel Subject: Re: [PATCH 1/5] [PATCH 1/5] kconfig: Make localmodconfig handle environment variables References: <20101029054310.790179545@goodmis.org> <20101029054423.498608001@goodmis.org> <1288402042.29632.50.camel@gandalf.stny.rr.com> <1289263747.12418.78.camel@gandalf.stny.rr.com> <4CEE84B1.4070301@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: 1256 Lines: 28 On 25.11.2010 17:21, Arnaud Lacombe wrote: > Hi, > > On Thu, Nov 25, 2010 at 10:45 AM, Michal Marek wrote: >> What information does localmodconfig need? A list of config options and >> their computed dependencies and a flag for each option if it has prompt, >> anything else? So a scripts/kconfig/conf --dump-kconfig that would >> produce such flat list should suffice, without the complexity of having >> to build a perl binding first (and would be usable from bash/awk/python >> scripts as well). What do you think? >> > Just as a FYI, the output of zconfdump() does not respect the kconfig > syntax. I've got some patches to fix that, but I've not been able to > touch them since a few weeks now. I'm not saying zconfdump() has to be used or that it has to follow the kconfig syntax (*), just that a pipe interface between the C kconfig and a Perl script might be easier to implement and use :-). (*) Although using a subset of the kconfig syntax would be a good idea definitely. 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/