summaryrefslogtreecommitdiff
path: root/tools/buildman/cmdline.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-01-07 16:44:20 -0700
committerSimon Glass <sjg@chromium.org>2019-01-14 17:47:13 -0700
commit00beb2485f71ab23114b37ef47d136e269ef69f7 (patch)
treec45c9d75d45eb74a0144dbc0c2fb842383da1e09 /tools/buildman/cmdline.py
parented4e933d13c7242c643e4a535edf4d75c5322f94 (diff)
downloadu-boot-00beb2485f71ab23114b37ef47d136e269ef69f7.tar.gz
buildman: Add support for building with clang
Add a -O option which allows building with clang. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/cmdline.py')
-rw-r--r--tools/buildman/cmdline.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py
index 93d09ca08d..832a5145d2 100644
--- a/tools/buildman/cmdline.py
+++ b/tools/buildman/cmdline.py
@@ -74,6 +74,8 @@ def ParseArgs():
parser.add_option('-o', '--output-dir', type='string',
dest='output_dir', default='..',
help='Directory where all builds happen and buildman has its workspace (default is ../)')
+ parser.add_option('-O', '--override-toolchain', type='string',
+ help="Override host toochain to use for sandbox (e.g. 'clang-7')")
parser.add_option('-Q', '--quick', action='store_true',
default=False, help='Do a rough build, with limited warning resolution')
parser.add_option('-p', '--full-path', action='store_true',