diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-09 18:39:28 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-07-20 11:37:47 -0600 |
commit | 5d8b3384621a830f7acea4238b0bb555b857e058 (patch) | |
tree | 6482eca94ebf24b34dc8c245562976696d660a22 /tools/binman | |
parent | ccbe7dbc3f0ac390fa94f86d21f4ce620738523c (diff) | |
download | u-boot-5d8b3384621a830f7acea4238b0bb555b857e058.tar.gz u-boot-5d8b3384621a830f7acea4238b0bb555b857e058.tar.bz2 u-boot-5d8b3384621a830f7acea4238b0bb555b857e058.zip |
binman: Correct the search patch for pylibfdt
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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
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 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')) |