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

2021-12-14 Thread Simon Glass
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 --- v3: avoided crash (Simon), reused one level up folder variable tools/binman/main.py | 12 +++-

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

2021-12-06 Thread Andy Shevchenko
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 --- v3: avoided crash (Simon), reused one level up folder variable tools/binman/main.py | 12 +++-