summaryrefslogtreecommitdiff
path: root/tools/buildman/control.py
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2014-04-17 19:13:11 (GMT)
committerTom Rini <trini@ti.com>2014-04-18 20:14:13 (GMT)
commite0ba9299823b985b6b707516e4dc0b331be9e7a2 (patch)
tree313bcb88e8450c355ef1f2a31ba8eed839f1c646 /tools/buildman/control.py
parentd2ff5e55c346f012129cbce8b373eafd5f00c9b2 (diff)
downloadu-boot-fsl-qoriq-e0ba9299823b985b6b707516e4dc0b331be9e7a2.tar.xz
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/control.py')
-rw-r--r--tools/buildman/control.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index 8e6a08f..d2f4102 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -145,7 +145,7 @@ def DoBuildman(options, args):
options.step = len(series.commits) - 1
# Create a new builder with the selected options
- output_dir = os.path.join('..', options.branch)
+ output_dir = os.path.join(options.output_dir, options.branch)
builder = Builder(toolchains, output_dir, options.git_dir,
options.threads, options.jobs, checkout=True,
show_unknown=options.show_unknown, step=options.step)