Commit 023257f0 authored by Bin Meng's avatar Bin Meng

tools: buildman: Change default output directory to /tmp/buildman

When '-o' is not given to buildman, it defaults to use '../' as
the output directory, which is not a good practice as we don't
know whether we have the permission to do so.

Let's use /tmp/buildman as the default output directoy.
Signed-off-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
parent b1ff44e5
Pipeline #1141 passed with stages
in 133 minutes and 4 seconds
......@@ -72,7 +72,7 @@ def ParseArgs():
parser.add_option('-N', '--no-subdirs', action='store_true', dest='no_subdirs',
default=False, help="Don't create subdirectories when building current source for a single board")
parser.add_option('-o', '--output-dir', type='string',
dest='output_dir', default='..',
dest='output_dir', default='/tmp/buildman',
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')")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment