buildman: Add an option to just create the config
authorSimon Glass <sjg@chromium.org>
Sun, 13 Nov 2016 21:25:51 +0000 (14:25 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 2 Dec 2016 17:37:47 +0000 (10:37 -0700)
commitb50113f373a95d28cf001eb20adc6ef56f8ba14c
treed4b50e5374baed0b2646caf050fa868b2855299e
parent1bd876301b1b6a2046cd1415fff71f5e8a30e6b4
buildman: Add an option to just create the config

Normally buildman does a full build of a board. This includes creating the
u-boot.cfg file which contains all the configuration options. Buildman uses
this file with the -K option, to show differences in effective configuration
for each commit.

Doing a full build of U-Boot just to create the u-boot.cfg file is wasteful.
Add a -D option which causes buildman to only create the configuration. This
is enough to support use of -K and can be done much more quickly (typically
5-10 times faster).

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builder.py
tools/buildman/builderthread.py
tools/buildman/cmdline.py
tools/buildman/control.py