Conversation

Jonathan Corbet

For a while now, the kernel's configuration and build systems have been an area of concern for me. Almost nobody truly understands those complex subsystems, which were handled by a single maintainer.

That maintainer, Masahiro Yamada, has just stepped down after eight years on the job:

https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8d6841d5cb20

Happily, Nathan Chancellor and Nicolas Schier have agreed to pick up the build system. The configuration system, instead, is now unmaintained. That ... seems less than optimal.

Thanks to Masahiro for doing this work all these years, and to Nathan and Nicolas for stepping up!
3
20
51

@jani @corbet Kconfig is used in other projects.

0
0
0

@jani @corbet just wanted to advertise the Python reimplementation (it's a shame to me that something like this isn't in the Linux tree):
https://github.com/ulfalizer/Kconfiglib/tree/master
Perhaps it could be ported from curses to a more modern console ui like textual.

1
0
0
@irogers @jani Interesting. It claims to be used by projects like Zephyr, but has no activity in five years...are those projects maintaining their own forks?
1
0
1

@corbet it could have been worse, at least the maintainer did not suddenly go "off-grid" while not leaving any key behind... https://github.com/pypi/support/issues/2526

0
0
0

@corbet I've recently been writing my own replacement for kconfig over at https://github.com/landley/toybox/blob/master/scripts/kconfig.c but the kernel community got toxic enough I stepped way the heck back from it in something like 2017. (And that was before kconfig became turing complete in 2018, so "make allnoconfig" could rm -rf your home directory. And developed lexx/yacc dependencies.)

0
0
0

@llvm @geert @jani @corbet
We do have a kconfig fork integrated in kdevops with yaml output support. This was not desirable upstream but it was the initial goal. FYI, here the RFC from @mcgrof:

https://lore.kernel.org/all/20240823034455.3593819-1-mcgrof@kernel.org/

0
0
0

@corbet Every build system I have worked with seems to be overcomplicated and yet also kind of hard to do simple-ish things in. I have therefore (reluctantly) decided this is actually a hard problem.

0
0
0