mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
buildman: Put build in 'current', not 'current/current'
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@aribaud.net> Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4466c1f943
commit
05c96b187a
1 changed files with 3 additions and 4 deletions
|
@ -207,12 +207,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,
|
||||
|
|
Loading…
Reference in a new issue