From 3cf4ae6f8672cd10ddba4b18bf82e4d03aeb15e6 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 28 Aug 2014 09:43:41 -0600 Subject: 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 Signed-off-by: Simon Glass --- tools/buildman/buildman.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/buildman/buildman.py') diff --git a/tools/buildman/buildman.py b/tools/buildman/buildman.py index fbd31259bf..53592e50ec 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 += """ -- cgit v1.2.1