Parsing kconfig files from scripts
Hi,
I'm working on several projects that are linux based and use Kconfig.
One of the tasks on my list is to build automation that detects what targets to build nightly after continuous integrations into SCM (including new platforms being added).
A way to do this is to find in the Kconfig tree all possible values of a given symbol, such as CONFIG_CMDLINE for instance (ok, not a great example).
I was wondering if there was a command-line utility one could invoke to query the parse tree and dump values from it.
Thanks,
-Philip
Quoted 10 lines · Philip Prindeville
One of the tasks on my list is to build automation that detects what targets to build nightly after continuous integrations into SCM (including new platforms being added).
A way to do this is to find in the
Kconfigtree all possible values of a given symbol, such asCONFIG_CMDLINEfor instance (ok, not a great example).I was wondering if there was a command-line utility one could invoke to query the parse tree and dump values from it.
There is not, but a patch adding such tool would be welcome.
Michal