Message ID | 20200608132017.4.Ifa800055795ac558a5c26ce7f6a7a6a0094981d7@changeid |
---|---|
State | New |
Headers | show |
Series | rockchip: Support building ROM files automatically | expand |
diff --git a/tools/binman/main.py b/tools/binman/main.py index efa7fa8386..4194761f9e 100755 --- a/tools/binman/main.py +++ b/tools/binman/main.py @@ -25,7 +25,7 @@ sys.path.insert(2, os.path.join(our_path, '..')) 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'))
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. Signed-off-by: Simon Glass <sjg at chromium.org> --- tools/binman/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)