[PATCH 1/4] binman: Move GetEntryModules() to control

Simon Glass sjg at chromium.org
Sun Aug 23 01:17:58 CEST 2020

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 at 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!

More information about the U-Boot mailing list