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.shevche...@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!