Skip to contentSkip to conversation

Parsing kconfig files from scripts

DISCUSSION Philip Prindeville 2 participants 2 messages Jan 13, 2012 – Jan 14, 2012 Kbuild

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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 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.

There is not, but a patch adding such tool would be welcome.

Michal