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 |
