[Buildroot] Non-interactive config

Peter Korsgaard peter at korsgaard.com
Mon Jan 9 08:06:43 UTC 2017

>>>>> "Kenneth" == Kenneth Adam Miller <kennethadammiller at gmail.com> writes:

 > Hello,
 > I need the ability to configure a system non interactively so that I can
 > script the enabling and disabling of various packages automatically. It is
 > not suitable to manually edit and then save the changes, since there are
 > too many combinations of our private packages that must be enabled and
 > disabled.

 > I need this in order to script the generation of many bzImage with
 > different packages of startup commands to test our software in different
 > modes. Right now, I think this can be done if I could so something along
 > the lines of:

The buildroot .config is just a simple text file, so you can process it
with all the normal text handling commands. It shouldn't be that hard to
do some with sed/grep/echo. Have a look at our KCONFIG_*_OPT macros in

Bye, Peter Korsgaard

More information about the buildroot mailing list