summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-09 18:39:28 -0600
committerSimon Glass <sjg@chromium.org>2020-07-24 19:25:15 -0600
commitfdb3040e964608c4d6caac9e8b18cb4b0a2a45b5 (patch)
tree7af68d4f878e23575d6c83afba777372a181afd2 /tools
parent5de9b9c03c65e834361bf50e525fc5af889e0ff4 (diff)
downloadu-boot-fdb3040e964608c4d6caac9e8b18cb4b0a2a45b5.tar.gz
u-boot-fdb3040e964608c4d6caac9e8b18cb4b0a2a45b5.tar.bz2
u-boot-fdb3040e964608c4d6caac9e8b18cb4b0a2a45b5.zip
binman: Correct the search patch for pylibfdt
Now that binman uses tools/ as its base directory for importing modules, the path to the pylibfdt build by U-Boot is incorrect. Fix it with a new path. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/binman/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/binman/main.py b/tools/binman/main.py
index 0ab2bb6206..6f5a9d1ca2 100755
--- a/tools/binman/main.py
+++ b/tools/binman/main.py
@@ -26,6 +26,7 @@ from patman import test_util
# Bring in the libfdt module
sys.path.insert(2, 'scripts/dtc/pylibfdt')
+sys.path.insert(2, os.path.join(our_path, '../../scripts/dtc/pylibfdt'))
sys.path.insert(2, os.path.join(our_path,
'../../build-sandbox_spl/scripts/dtc/pylibfdt'))