[PATCH v2 13/14] patman: Move to absolute imports
sjg at google.com
sjg at google.com
Mon Apr 27 05:06:41 CEST 2020
At present patman 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 patman to use absolute imports. This requires changes in tools which
use the patman libraries (which is most of them).
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Expand to convert all Python tools in U-Boot
tools/binman/cbfs_util.py | 4 ++--
tools/binman/cbfs_util_test.py | 4 ++--
tools/binman/control.py | 6 +++---
tools/binman/elf.py | 6 +++---
tools/binman/elf_test.py | 8 ++++----
tools/binman/entry.py | 4 ++--
tools/binman/entry_test.py | 2 +-
tools/binman/etype/_testing.py | 2 +-
tools/binman/etype/blob.py | 4 ++--
tools/binman/etype/fdtmap.py | 4 ++--
tools/binman/etype/files.py | 2 +-
tools/binman/etype/fill.py | 2 +-
tools/binman/etype/fmap.py | 4 ++--
tools/binman/etype/gbb.py | 4 ++--
tools/binman/etype/intel_ifwi.py | 2 +-
tools/binman/etype/section.py | 4 ++--
tools/binman/etype/text.py | 2 +-
tools/binman/etype/u_boot_dtb_with_ucode.py | 2 +-
tools/binman/etype/u_boot_elf.py | 2 +-
tools/binman/etype/u_boot_spl_bss_pad.py | 4 ++--
.../binman/etype/u_boot_tpl_with_ucode_ptr.py | 4 ++--
tools/binman/etype/u_boot_ucode.py | 2 +-
tools/binman/etype/u_boot_with_ucode_ptr.py | 4 ++--
tools/binman/etype/vblock.py | 2 +-
tools/binman/fdt_test.py | 2 +-
tools/binman/fmap_util.py | 2 +-
tools/binman/ftest.py | 8 ++++----
tools/binman/image.py | 4 ++--
tools/binman/main.py | 2 +-
tools/binman/state.py | 4 ++--
tools/buildman/builder.py | 8 ++++----
tools/buildman/builderthread.py | 4 ++--
tools/buildman/control.py | 10 +++++-----
tools/buildman/func_test.py | 9 ++++-----
tools/buildman/main.py | 6 +++---
tools/buildman/test.py | 10 +++++-----
tools/buildman/toolchain.py | 6 +++---
tools/dtoc/dtb_platdata.py | 6 +++---
tools/dtoc/fdt.py | 4 ++--
tools/dtoc/fdt_util.py | 4 ++--
tools/dtoc/main.py | 5 +++--
tools/dtoc/test_dtoc.py | 10 +++++-----
tools/dtoc/test_fdt.py | 12 ++++++------
tools/patman/checkpatch.py | 8 +++++---
tools/patman/command.py | 5 +++--
tools/patman/func_test.py | 8 ++++----
tools/patman/get_maintainer.py | 5 +++--
tools/patman/gitutil.py | 12 ++++++------
tools/patman/main.py | 18 +++++++++---------
tools/patman/patchstream.py | 8 ++++----
tools/patman/project.py | 2 +-
tools/patman/series.py | 10 +++++-----
tools/patman/settings.py | 6 +++---
tools/patman/test.py | 10 +++++-----
tools/patman/test_util.py | 3 ++-
tools/patman/tools.py | 4 ++--
tools/patman/tout.py | 2 +-
tools/rmboard.py | 2 +-
58 files changed, 154 insertions(+), 149 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list