config-kernel

config-kernel program recursively reads Kconfig files from a given source directory and builds a tree structure of CONFIG_ options. This tree can be traversed to query option's attributes or set/reset them. It can also be used to validate kernel's .config file by checking option's value and dependencies.

Please see -> https://github.com/pjps/config-kernel