Usage of Kconfiglib

Hi,

I’m currently working on a research project about ulfalizer’s Kconfiglib and how it’s used in different projects.
If I’m not mistaken, it looks like legato-af uses it here:

  • /legatoproject/legato-af/blob/master/Makefile
    -/legatoproject/legato-af/blob/master/framework/tools/scripts/kconfig2dox

I haven’t been able to find any information on why the Python-based Kconfiglib was chosen instead of the traditional C-based Linux Kconfig system.
Maybe someone could share a bit of background on that decision?

Thanks a lot!

I guess maybe there are other components using python script.

The build/ and bin/ directories contain tools and scripts that interact with Kconfiglib:

  • build/tools: Likely includes Python scripts or wrappers around Kconfiglib.

  • bin/legs and bin/configlegatoenv: Shell scripts that initialize the environment for Kconfiglib-based configuration.