summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2022-01-27 17:03:13 +0300
committerSimon Glass <sjg@chromium.org>2022-03-19 04:24:24 +0300
commit7aa288ef5ca45c38336f65d8ba2f62de9f984201 (patch)
treec70c866a943b6c57228c0df1a6f2133eb891bd85 /tools
parent40def8ad752d68e68e1c66701850369402148119 (diff)
downloadu-boot-7aa288ef5ca45c38336f65d8ba2f62de9f984201.tar.xz
tools: binman: main.py: add build-sandbox in sys.path
Adds build-sandbox in sys.path to look for libfdt, otherwise py_test can't use binman. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Simon Glass <sjg@chromium.org>
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 ab25b48b5f..9392b59adb 100755
--- a/tools/binman/main.py
+++ b/tools/binman/main.py
@@ -41,6 +41,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(srctree, 'scripts/dtc/pylibfdt'))
+sys.path.insert(2, os.path.join(srctree, 'build-sandbox/scripts/dtc/pylibfdt'))
sys.path.insert(2, os.path.join(srctree, 'build-sandbox_spl/scripts/dtc/pylibfdt'))
# When running under python-coverage on Ubuntu 16.04, the dist-packages