Importing libraries in Python caches the bytecode by default.
Since we run scripts in source tree it ignores the current directory
settings, which is $(srctree), and creates cache just in the middle
of the source tree. Move cache to the current directory.

Signed-off-by: Andy Shevchenko <[email protected]>
---
v3: avoided crash (Simon), preserved tree hierarchy
 tools/binman/main.py | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

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

Reply via email to