diff options
author | Philippe Reynes <philippe.reynes@softathome.com> | 2022-01-27 15:03:13 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-03-18 19:24:24 -0600 |
commit | 7aa288ef5ca45c38336f65d8ba2f62de9f984201 (patch) | |
tree | c70c866a943b6c57228c0df1a6f2133eb891bd85 /tools/binman | |
parent | 40def8ad752d68e68e1c66701850369402148119 (diff) | |
download | u-boot-7aa288ef5ca45c38336f65d8ba2f62de9f984201.zip u-boot-7aa288ef5ca45c38336f65d8ba2f62de9f984201.tar.gz u-boot-7aa288ef5ca45c38336f65d8ba2f62de9f984201.tar.bz2 |
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/binman')
-rwxr-xr-x | tools/binman/main.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/binman/main.py b/tools/binman/main.py index ab25b48..9392b59 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 |