diff options
author | Simon Glass <sjg@chromium.org> | 2016-11-13 14:25:51 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-12-02 10:37:47 -0700 |
commit | b50113f373a95d28cf001eb20adc6ef56f8ba14c (patch) | |
tree | d4b50e5374baed0b2646caf050fa868b2855299e /tools/buildman/cmdline.py | |
parent | 1bd876301b1b6a2046cd1415fff71f5e8a30e6b4 (diff) |
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>
Diffstat (limited to 'tools/buildman/cmdline.py')
-rw-r--r-- | tools/buildman/cmdline.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py index 3e3bd63e32..bd3776a75f 100644 --- a/tools/buildman/cmdline.py +++ b/tools/buildman/cmdline.py @@ -28,6 +28,8 @@ def ParseArgs(): parser.add_option('-d', '--detail', dest='show_detail', action='store_true', default=False, help='Show detailed information for each board in summary') + parser.add_option('-D', '--config-only', action='store_true', default=False, + help="Don't build, just configure each commit") parser.add_option('-e', '--show_errors', action='store_true', default=False, help='Show errors and warnings') parser.add_option('-f', '--force-build', dest='force_build', |