buildman: Correct invalid use of out_dir variable
This variable has a different meaning in the outer scope. Use a different name to avoid confusion, or bugs. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -246,8 +246,8 @@ class BuilderThread(threading.Thread):
|
||||
#
|
||||
# Symlinks can confuse U-Boot's Makefile since
|
||||
# we may use '..' in our path, so remove them.
|
||||
out_dir = os.path.realpath(out_dir)
|
||||
args.append(f'O={out_dir}')
|
||||
real_dir = os.path.realpath(out_dir)
|
||||
args.append(f'O={real_dir}')
|
||||
cwd = None
|
||||
src_dir = os.getcwd()
|
||||
else:
|
||||
|
Reference in New Issue
Block a user