[U-Boot] [PATCH 02/17] buildman: Put build in 'current', not 'current/current'
Simon Glass
sjg at chromium.org
Tue Dec 2 01:33:52 CET 2014
Buildman currently puts current-source builds in a current/current
subdirectory, but there is no need for the extra depth.
Suggested-by: Albert Aribaud <albert.u.boot at aribaud.net>
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/buildman/control.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index 2c3ba8b..8b9a575 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -205,12 +205,11 @@ def DoBuildman(options, args, toolchains=None, make_func=None, boards=None,
if not gnu_make:
sys.exit('GNU Make not found')
- # Create a new builder with the selected options
+ # Create a new builder with the selected options.
+ output_dir = options.output_dir
if options.branch:
dirname = options.branch.replace('/', '_')
- else:
- dirname = 'current'
- output_dir = os.path.join(options.output_dir, dirname)
+ output_dir = os.path.join(options.output_dir, dirname)
if clean_dir and os.path.exists(output_dir):
shutil.rmtree(output_dir)
builder = Builder(toolchains, output_dir, options.git_dir,
--
2.2.0.rc0.207.ga3a616c
More information about the U-Boot
mailing list