summaryrefslogtreecommitdiff
path: root/tools/buildman/buildman.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-07-14 17:51:02 -0600
committerSimon Glass <sjg@chromium.org>2014-07-28 04:52:48 +0100
commit97e915262e06c5980124de2e0fe5c2f34b40ee8f (patch)
tree34c5f4374a1131b9a1e4c3dfeb0184717f91bc6f /tools/buildman/buildman.py
parent772e173802627a1917a3f5878ad4b9b920089a33 (diff)
downloadu-boot-imx-97e915262e06c5980124de2e0fe5c2f34b40ee8f.zip
u-boot-imx-97e915262e06c5980124de2e0fe5c2f34b40ee8f.tar.gz
u-boot-imx-97e915262e06c5980124de2e0fe5c2f34b40ee8f.tar.bz2
buildman: Add -C option to force a reconfigure for each commit
Normally buildman wil try to configure U-Boot for a particular board on the first commit that it builds in a series. Subsequent commits are built without reconfiguring which normally works. Where it doesn't, buildman automatically reconfigures and retries. To fully emulate the way MAKEALL works, we should have an option to disable this optimisation. Add a -C option to cause buildman to always reconfigure on each commit. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/buildman.py')
-rwxr-xr-xtools/buildman/buildman.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/buildman/buildman.py b/tools/buildman/buildman.py
index 0da6797..5046b16 100755
--- a/tools/buildman/buildman.py
+++ b/tools/buildman/buildman.py
@@ -67,6 +67,9 @@ parser.add_option('-B', '--bloat', dest='show_bloat',
help='Show changes in function code size for each board')
parser.add_option('-c', '--count', dest='count', type='int',
default=-1, help='Run build on the top n commits')
+parser.add_option('-C', '--force-reconfig', dest='force_reconfig',
+ action='store_true', default=False,
+ help='Reconfigure for every commit (disable incremental build)')
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',