summaryrefslogtreecommitdiff
path: root/tools/buildman/cmdline.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-06-11 23:26:46 -0600
committerSimon Glass <sjg@chromium.org>2018-11-14 09:16:27 -0800
commit0689036a35296a3d51685a0b671f805818f94af7 (patch)
tree07e7263dfb912d0805298526fbc1648945f3f6ce /tools/buildman/cmdline.py
parentbd8b74551b64e740ca27510406d26bd82ae74c38 (diff)
downloadu-boot-0689036a35296a3d51685a0b671f805818f94af7.tar.gz
buildman: Add a --boards option to specify particular boards to build
At present 'buildman sandbox' will build all 5 boards for the sandbox architecture rather than the single board 'sandbox'. The only current way to exclude sandbox_spl, sandbox_noblk, etc. is to use -x which is a bit clumbsy. Add a --boards option to allow individual build targets to be specified. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/cmdline.py')
-rw-r--r--tools/buildman/cmdline.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py
index e493b1ac4a..49a8a13118 100644
--- a/tools/buildman/cmdline.py
+++ b/tools/buildman/cmdline.py
@@ -18,6 +18,8 @@ def ParseArgs():
parser.add_option('-B', '--bloat', dest='show_bloat',
action='store_true', default=False,
help='Show changes in function code size for each board')
+ parser.add_option('--boards', type='string', action='append',
+ help='List of board names to build separated by comma')
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',
@@ -102,7 +104,7 @@ def ParseArgs():
type='string', action='append',
help='Specify a list of boards to exclude, separated by comma')
- parser.usage += """
+ parser.usage += """ [list of target/arch/cpu/board/vendor/soc to build]
Build U-Boot for all commits in a branch. Use -n to do a dry run"""