Re: [PATCH] [ANNOUNCE] kconfig: Kconfiglib: a flexible Python Kconfigparser

From: Rob Landley
Date: Fri Feb 04 2011 - 18:43:17 EST


On 02/04/2011 04:35 PM, Randy Dunlap wrote:
>> The patch should be preferably be applied to a recent kernel, i.e. Linus's
>> (2.6.38-rc3 at the time of writing). Due to recent Kconfig changes, the
>> kconfigtest.py test suite - which compares output character-for-character -
>> will indicate failure on older (a few months old) kernels versions even though
>> the outputs are functionally equivalent.
>>
>> Documentation/kbuild/kconfig-language.txt | 5 +
>> Documentation/kbuild/kconfig.txt | 8 +
>> README | 13 +
>> scripts/kconfig/Makefile | 26 +-
>> scripts/kconfig/kconfiglib.py | 3918 +++++++++++++++++++++++++++++
>> scripts/kconfig/kconfigtest.py | 396 +++
>> 6 files changed, 4365 insertions(+), 1 deletions(-)
>> create mode 100644 scripts/kconfig/kconfiglib.py
>> create mode 100644 scripts/kconfig/kconfigtest.py

Wait, I thought this was an extra standalone library. Are you saying
you want to make it so Linux will no longer compile on a build machine
that doesn't have Python installed?

If this is merely an extra developer tool ala bloat-o-meter and
checkpatch.pl then it's merely uninteresting to me. (I myself wrote a
quick and dirty http://kernel.org/doc/make/menuconfig2html.py to
generate http://kernel.org/doc/menuconfig/x86.html and friends years
ago, and I still run it to update that once in a while. There's not
much to it.)

But adding new prerequities to a build machine would be really annoying
for my use cases.

Rob
--
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/