[PATCH v2 12/14] binman: Move to absolute imports
sjg at google.com
sjg at google.com
Mon Apr 27 05:06:42 CEST 2020
At present binman 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 binman to use absolute imports. This enables removable of the path
adjusting in Entry also.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2: None
tools/binman/cbfs_util.py | 2 +-
tools/binman/cbfs_util_test.py | 6 +--
tools/binman/control.py | 12 +++---
tools/binman/elf.py | 2 +-
tools/binman/elf_test.py | 2 +-
tools/binman/entry.py | 16 +++-----
tools/binman/entry_test.py | 10 ++---
tools/binman/etype/__init__.py | 0
tools/binman/etype/_testing.py | 4 +-
tools/binman/etype/blob.py | 4 +-
tools/binman/etype/blob_dtb.py | 6 +--
tools/binman/etype/blob_named_by_arg.py | 4 +-
tools/binman/etype/cbfs.py | 10 ++---
tools/binman/etype/cros_ec_rw.py | 2 +-
tools/binman/etype/fdtmap.py | 6 +--
tools/binman/etype/files.py | 6 +--
tools/binman/etype/fill.py | 4 +-
tools/binman/etype/fmap.py | 6 +--
tools/binman/etype/gbb.py | 4 +-
tools/binman/etype/image_header.py | 4 +-
tools/binman/etype/intel_cmc.py | 4 +-
tools/binman/etype/intel_descriptor.py | 4 +-
tools/binman/etype/intel_fit.py | 2 +-
tools/binman/etype/intel_fit_ptr.py | 2 +-
tools/binman/etype/intel_fsp.py | 4 +-
tools/binman/etype/intel_fsp_m.py | 4 +-
tools/binman/etype/intel_fsp_s.py | 4 +-
tools/binman/etype/intel_fsp_t.py | 4 +-
tools/binman/etype/intel_ifwi.py | 6 +--
tools/binman/etype/intel_me.py | 4 +-
tools/binman/etype/intel_mrc.py | 4 +-
tools/binman/etype/intel_refcode.py | 4 +-
tools/binman/etype/intel_vbt.py | 4 +-
tools/binman/etype/intel_vga.py | 4 +-
.../etype/powerpc_mpc85xx_bootpg_resetvec.py | 4 +-
tools/binman/etype/section.py | 4 +-
tools/binman/etype/text.py | 4 +-
tools/binman/etype/u_boot.py | 4 +-
tools/binman/etype/u_boot_dtb.py | 4 +-
tools/binman/etype/u_boot_dtb_with_ucode.py | 8 ++--
tools/binman/etype/u_boot_elf.py | 6 +--
tools/binman/etype/u_boot_img.py | 4 +-
tools/binman/etype/u_boot_nodtb.py | 4 +-
tools/binman/etype/u_boot_spl.py | 7 ++--
tools/binman/etype/u_boot_spl_bss_pad.py | 6 +--
tools/binman/etype/u_boot_spl_dtb.py | 4 +-
tools/binman/etype/u_boot_spl_elf.py | 4 +-
tools/binman/etype/u_boot_spl_nodtb.py | 4 +-
.../binman/etype/u_boot_spl_with_ucode_ptr.py | 6 +--
tools/binman/etype/u_boot_tpl.py | 7 ++--
tools/binman/etype/u_boot_tpl_dtb.py | 4 +-
.../binman/etype/u_boot_tpl_dtb_with_ucode.py | 5 +--
tools/binman/etype/u_boot_tpl_elf.py | 4 +-
.../binman/etype/u_boot_tpl_with_ucode_ptr.py | 6 +--
tools/binman/etype/u_boot_ucode.py | 4 +-
tools/binman/etype/u_boot_with_ucode_ptr.py | 10 ++---
tools/binman/etype/vblock.py | 4 +-
tools/binman/etype/x86_reset16.py | 4 +-
tools/binman/etype/x86_reset16_spl.py | 4 +-
tools/binman/etype/x86_reset16_tpl.py | 4 +-
tools/binman/etype/x86_start16.py | 4 +-
tools/binman/etype/x86_start16_spl.py | 4 +-
tools/binman/etype/x86_start16_tpl.py | 4 +-
tools/binman/fdt_test.py | 6 +--
tools/binman/ftest.py | 37 ++++++++++---------
tools/binman/image.py | 12 +++---
tools/binman/image_test.py | 2 +-
tools/binman/main.py | 23 ++++++------
tools/binman/state.py | 6 +--
tools/patman/main.py | 20 +++++-----
70 files changed, 198 insertions(+), 213 deletions(-)
delete mode 100644 tools/binman/etype/__init__.py
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list