diff options
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2014-04-17 21:13:11 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-04-18 16:14:13 -0400 |
commit | e0ba9299823b985b6b707516e4dc0b331be9e7a2 (patch) | |
tree | 313bcb88e8450c355ef1f2a31ba8eed839f1c646 /tools/buildman/buildman.py | |
parent | d2ff5e55c346f012129cbce8b373eafd5f00c9b2 (diff) | |
download | u-boot-e0ba9299823b985b6b707516e4dc0b331be9e7a2.tar.gz u-boot-e0ba9299823b985b6b707516e4dc0b331be9e7a2.tar.bz2 u-boot-e0ba9299823b985b6b707516e4dc0b331be9e7a2.zip |
buildman: make output dir configurable
Add an option to specify the output directory to override the
default path '../'. This is useful for building in a ramdisk.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/buildman.py')
-rwxr-xr-x | tools/buildman/buildman.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/buildman/buildman.py b/tools/buildman/buildman.py index 8822efefa5..73a5483d46 100755 --- a/tools/buildman/buildman.py +++ b/tools/buildman/buildman.py @@ -101,6 +101,9 @@ parser.add_option('-T', '--threads', type='int', default=None, help='Number of builder threads to use') parser.add_option('-u', '--show_unknown', action='store_true', default=False, help='Show boards with unknown build result') +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.usage = """buildman -b <branch> [options] |