Kconfiglib
Kconfiglib is a Python library which is able to load, analyze, and output kernel configurations; care has been taken to ensure that any configuration it creates is identical to what comes out of the existing kernel configuration system. With Kconfiglib, it becomes straightforward to write simple tools like "allnoconfig"; it also is possible to ask questions about a given configuration. One possible tool, for example, would answer the "why can't I select CONFIG_FOO" question - a useful feature indeed.
There are currently no Python dependencies in the kernel build system;
trying to add one could well run into opposition. But Kconfiglib could
find a role in the creation of ancillary tools which are not required to
configure and build a kernel as it's always been done. For the curious,
there's a set of
examples available.
Index entries for this article | |
---|---|
Kernel | Build system/Kernel configuration |
Posted Feb 7, 2011 17:47 UTC (Mon)
by daniel (guest, #3181)
[Link] (6 responses)
That's a troll, Jon.
Posted Feb 7, 2011 17:52 UTC (Mon)
by rahulsundaram (subscriber, #21946)
[Link]
Posted Feb 7, 2011 17:54 UTC (Mon)
by mjg59 (subscriber, #23239)
[Link]
Posted Feb 7, 2011 21:03 UTC (Mon)
by corbet (editor, #1)
[Link]
Posted Feb 10, 2011 14:43 UTC (Thu)
by ariveira (guest, #57833)
[Link] (2 responses)
Posted Feb 10, 2011 20:35 UTC (Thu)
by oak (guest, #2786)
[Link] (1 responses)
One of the nice things of python code is that you don't need to (cross-)compile it, it works as-is on any Linux/architecture (which has python interpreter).
Posted Feb 10, 2011 20:39 UTC (Thu)
by dlang (guest, #313)
[Link]
it's hard to run python on a machine that python hasn't been ported to.
Posted May 31, 2015 20:04 UTC (Sun)
by ulfalizer (guest, #102900)
[Link]
I didn't post the original patches expecting it to become an integral part of the kernel build process. It's more of an an auxiliary support library. :)
Kconfiglib
Kconfiglib
Kconfiglib
Excuse me for being dense, but...exactly how is that a troll? I intended it as a pretty straightforward statement of fact.
Troll?
Kconfiglib
linux kernel (build) https://lkml.org/lkml/2011/1/16/115
So yes i would say that adding python will find some resistenace
Kconfiglib
Kconfiglib
Kconfiglib