buildman: Add an option to specify the buildman config file

Add a new --config-file option (-G) to specify a different configuration
file from the default ~/.buildman.

Reported-by: Tom Rini <trini@ti.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2014-08-09 15:33:05 -06:00
parent d3269ed380
commit 0f7c9ddaed
2 changed files with 3 additions and 1 deletions

View File

@@ -86,7 +86,7 @@ def DoBuildman(options, args):
"""
gitutil.Setup()
bsettings.Setup()
bsettings.Setup(options.config_file)
options.git_dir = os.path.join(options.git, '.git')
toolchains = toolchain.Toolchains()