[PATCH v2 11/14] buildman: Move to absolute imports

sjg at google.com sjg at google.com
Mon Apr 27 05:06:46 CEST 2020


At present buildman sets the python path on startup so that it can access
the libraries it needs. If we convert to use absolute imports this is not
necessary.

Move buildman to use absolute imports. Also adjust moveconfig.py too since
it uses some buildman modules and cannot work without this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 tools/buildman/builder.py   |  4 ++--
 tools/buildman/control.py   | 12 ++++++------
 tools/buildman/func_test.py |  9 +++++----
 tools/buildman/main.py      | 20 ++++++++++----------
 tools/buildman/test.py      | 12 ++++++------
 tools/buildman/toolchain.py |  2 +-
 tools/moveconfig.py         |  8 ++++----
 7 files changed, 34 insertions(+), 33 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list