Re: [PATCH 1/5] [PATCH 1/5] kconfig: Make localmodconfig handle environmentvariables

From: Michal Marek
Date: Thu Nov 25 2010 - 11:37:36 EST


On 25.11.2010 17:21, Arnaud Lacombe wrote:
> Hi,
>
> On Thu, Nov 25, 2010 at 10:45 AM, Michal Marek <mmarek@xxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/