[PATCH v3 2/2] binman: Use less hard coded magic when inserting new PATH

Simon Glass sjg at chromium.org
Wed Dec 15 01:33:45 CET 2021


Instead of joining hard coded '..' to the run-time path of the executable,
take just a dirname out of it. Besides that, use $(srctree) where it makes
sense.

Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
---
v3: avoided crash (Simon), reused one level up folder variable
 tools/binman/main.py | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list