Build components into libraries like the early ESP-IDF but with a single makefile. Kconfig updated to linux version 5.6.
git clone https://github.com/mcu/kconfig-libs.git
cd kconfig-libs
make
It is necessary to ensure the possibility of using the dependency of one component on another.
The project provided as is for those who can understand and continue development. As you explore, you will discover interesting solutions.