diff options
| author | Philippe Reynes <[email protected]> | 2022-01-27 15:03:13 +0100 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2022-03-18 19:24:24 -0600 |
| commit | 7aa288ef5ca45c38336f65d8ba2f62de9f984201 (patch) | |
| tree | c70c866a943b6c57228c0df1a6f2133eb891bd85 | |
| parent | 40def8ad752d68e68e1c66701850369402148119 (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
| -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 ab25b48b5fb..9392b59adb1 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 |
