From 7aa288ef5ca45c38336f65d8ba2f62de9f984201 Mon Sep 17 00:00:00 2001 From: Philippe Reynes Date: Thu, 27 Jan 2022 15:03:13 +0100 Subject: [PATCH] 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 Reviewed-by: Simon Glass --- tools/binman/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/binman/main.py b/tools/binman/main.py index ab25b48b5f..9392b59adb 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 -- 2.39.5