projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a7419b
)
buildman: Correct invalid use of out_dir variable
author
Simon Glass
<sjg@chromium.org>
Wed, 19 Jul 2023 23:49:11 +0000
(17:49 -0600)
committer
Simon Glass
<sjg@chromium.org>
Mon, 24 Jul 2023 15:34:11 +0000
(09:34 -0600)
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>
tools/buildman/builderthread.py
patch
|
blob
|
history
diff --git
a/tools/buildman/builderthread.py
b/tools/buildman/builderthread.py
index 45ae6edf9f48c6fcf9e497c94f0c3224e380f919..f110137e8f6e1d3d61d72ec3f9d118d72860580f 100644
(file)
--- 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: