Skip to content
Snippets Groups Projects
Commit fd03d63f authored by Simon Glass's avatar Simon Glass
Browse files

buildman: Set up bsettings outside the control module


Move the bsettings code back to the main buildman.py file, so we can do
something different when testing.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent d4144e45
No related merge requests found
......@@ -19,6 +19,7 @@ sys.path.append(os.path.join(our_path, '../patman'))
# Our modules
import board
import bsettings
import builder
import checkpatch
import cmdline
......@@ -59,5 +60,6 @@ if options.test:
# Build selected commits for selected boards
else:
bsettings.Setup(options.config_file)
ret_code = control.DoBuildman(options, args)
sys.exit(ret_code)
......@@ -101,7 +101,6 @@ def DoBuildman(options, args, toolchains=None, make_func=None):
gitutil.Setup()
bsettings.Setup(options.config_file)
options.git_dir = os.path.join(options.git, '.git')
if not toolchains:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment