summaryrefslogtreecommitdiff
path: root/tools/buildman/buildman.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-08-28 09:43:41 -0600
committerSimon Glass <sjg@chromium.org>2014-09-05 13:40:43 -0600
commit3cf4ae6f8672cd10ddba4b18bf82e4d03aeb15e6 (patch)
treec346c3bee954f28ce52ccef7ccd30ce2f747f331 /tools/buildman/buildman.py
parentf60c9d4f39f8ca8948594a773eee43543ca37807 (diff)
downloadu-boot-imx-3cf4ae6f8672cd10ddba4b18bf82e4d03aeb15e6.zip
u-boot-imx-3cf4ae6f8672cd10ddba4b18bf82e4d03aeb15e6.tar.gz
u-boot-imx-3cf4ae6f8672cd10ddba4b18bf82e4d03aeb15e6.tar.bz2
buildman: Implement an option to exclude boards from the build
Some boards are known to be broken and it is convenient to be able to exclude them from the build. Add an --exclude option to specific boards to exclude. This uses the same matching rules as the normal 'include' arguments, and is a comma- separated list of regular expressions. Suggested-by: York Sun <yorksun@freescale.com> 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 fbd3125..53592e5 100755
--- a/tools/buildman/buildman.py
+++ b/tools/buildman/buildman.py
@@ -117,6 +117,9 @@ parser.add_option('-u', '--show_unknown', action='store_true',
default=False, help='Show boards with unknown build result')
parser.add_option('-v', '--verbose', action='store_true',
default=False, help='Show build results while the build progresses')
+parser.add_option('-x', '--exclude', dest='exclude',
+ type='string', action='append',
+ help='Specify a list of boards to exclude, separated by comma')
parser.usage += """