minimal
minimal copied to clipboard
Alternative build system based on Kbuild/Kconfig
The purpose of this issue is to research how easily Kbuild/Kconfig could be plugged in the current MLL build process as alternative build/configuration system.
At the moment MLL provides the configuration file .config
which has to be edited manually if someone wants to change the default build behavior. It would be nice if there was a mechanism which allows the user to edit the configuration file in more user friendly way. Also, the build process relies on the manual execution of one main shell script file, which in turn invokes all other shell scripts related to the build process. This could also be wrapped/automated in an another build system.
MLL also provides unofficial Makefile
which is used mainly for testing purposes and the final source code generation. However, currently there is no simple and user friendly way to edit the configuration file which is getting bigger and more complex with each new feature which is added to the project.
Note that the default build process, along with the default required dependencies should stay intact. The alternative build/configuration system may introduce other build dependencies (e.g. ncurses) and in this case there should be separate apt install xxx
entry in the documentation which describes what dependencies are required if someone wants to use the alternative build system.