summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/buildman/builderthread.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index 45ae6edf9f..f110137e8f 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: