[PATCH v4 63/83] buildman: Correct invalid use of out_dir variable
Simon Glass
sjg at chromium.org
Thu Jul 20 01:49:11 CEST 2023
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 at chromium.org>
---
(no changes since v3)
Changes in v3:
- Fix 'scrop' typo
tools/buildman/builderthread.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index 45ae6edf9f48..f110137e8f6e 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -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:
--
2.41.0.487.g6d72f3e995-goog
More information about the U-Boot
mailing list