]> git.dujemihanovic.xyz Git - u-boot.git/commit
buildman: Add helper functions for updating .config files
authorSimon Glass <sjg@chromium.org>
Sat, 22 Jan 2022 12:07:31 +0000 (05:07 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 9 Feb 2022 04:07:59 +0000 (23:07 -0500)
commit19133b71847a2902004bbf72a4c99f4ef128f777
treea393a81fb79b4474372cf7d46a17d82b0779184b
parentd10dc4028373a177b006283b93d5c245428fe774
buildman: Add helper functions for updating .config files

At present the only straightforward way to write tests that need a
slightly different configuration is to create a new board with its own
configuration. This is cumbersome.

It would be useful if buildman could adjust the configuration of a build
on the fly. In preparation for this, add a utility library which can
modify a .config file according to various parameters passed to it.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/cfgutil.py [new file with mode: 0644]
tools/buildman/func_test.py
tools/buildman/test.py