[PATCH v3 05/49] binman: Correct the search patch for pylibfdt
Simon Glass
sjg at chromium.org
Fri Jul 10 02:39:28 CEST 2020
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 at chromium.org>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---
(no changes since v2)
Changes in v2:
- Leave the old (object-directory) path in place
tools/binman/main.py | 1 +
1 file changed, 1 insertion(+)
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'))
--
2.27.0.389.gc38d7665816-goog
More information about the U-Boot
mailing list