commit | 220ff5fa159f20a684d20734f26110d79af8105a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Aug 05 13:27:46 2020 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sat Aug 22 08:53:38 2020 -0600 |
tree | 9440be9be37be55fee8329b841253dbf0317685e | |
parent | 32822d011e20e14fa069b965cec69486f85e4963 [diff] |
binman: Move GetEntryModules() to control 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>