
23 Aug
2020
23 Aug
'20
1:17 a.m.
When binman is installed its main program is in a different directory to its modules. This means that __file__ is different and we cannot use it to obtain the path to etype/ from main.py
To fix this, move the function to the 'control' module, since it is installed with all the other modules, including the etype/ directory.
Signed-off-by: Simon Glass sjg@chromium.org ---
tools/binman/control.py | 13 +++++++++++++ tools/binman/ftest.py | 5 ++--- tools/binman/main.py | 16 ++-------------- 3 files changed, 17 insertions(+), 17 deletions(-)
Applied to u-boot-dm, thanks!