diff options
author | Simon Glass <sjg@chromium.org> | 2018-10-01 21:12:40 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-10-08 07:34:34 -0600 |
commit | ed59e005e6ed388609749d52e98804b76db095d1 (patch) | |
tree | a2b263b656ae8997aa3a2ee6b7823cf536e71921 /tools/binman/binman.py | |
parent | 3bc11e818c3ad049a24ba2c2deb27ddd651a6e3b (diff) |
binman: Add a default path to libfdt.py
This module is often available in the sandbox_spl build created by
'make check'. Use this as a default path so that just typing 'binman -t'
(without setting PYTHONPATH) will generally run the tests.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/binman.py')
-rwxr-xr-x | tools/binman/binman.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/binman/binman.py b/tools/binman/binman.py index 1536e95651..f5af5359f3 100755 --- a/tools/binman/binman.py +++ b/tools/binman/binman.py @@ -22,6 +22,8 @@ for dirname in ['../patman', '../dtoc', '..']: # Bring in the libfdt module sys.path.insert(0, 'scripts/dtc/pylibfdt') +sys.path.insert(0, os.path.join(our_path, + '../../build-sandbox_spl/scripts/dtc/pylibfdt')) import cmdline import command |