From patchwork Mon Jun 8 19:20:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 241932 List-Id: U-Boot discussion From: sjg at chromium.org (Simon Glass) Date: Mon, 8 Jun 2020 13:20:13 -0600 Subject: [PATCH 04/15] binman: Correct the search patch for pylibfdt In-Reply-To: <20200608192024.21484-1-sjg@chromium.org> References: <20200608192024.21484-1-sjg@chromium.org> Message-ID: <20200608132017.4.Ifa800055795ac558a5c26ce7f6a7a6a0094981d7@changeid> 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 --- tools/binman/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'))