]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Move library functions into a library directory
authorSimon Glass <sjg@chromium.org>
Fri, 24 Feb 2023 01:18:04 +0000 (18:18 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Mar 2023 19:40:49 +0000 (11:40 -0800)
commit4583c00236efd4ee768ff874f92526c229891a05
treed4a3f04f59f88876d54415dc2c341402ba0dd54f
parent00290d6a5bdf41dc610d89d763fcb48936285600
patman: Move library functions into a library directory

The patman directory has a number of modules which are used by other tools
in U-Boot. This makes it hard to package the tools using pypi since the
common files must be copied along with the tool that uses them.

To address this, move these files into a new u_boot_pylib library. This
can be packaged separately and listed as a dependency of each tool.

Signed-off-by: Simon Glass <sjg@chromium.org>
87 files changed:
scripts/event_dump.py
test/run
tools/binman/bintool.py
tools/binman/bintool_test.py
tools/binman/btool/lz4.py
tools/binman/btool/lzma_alone.py
tools/binman/cbfs_util.py
tools/binman/cbfs_util_test.py
tools/binman/control.py
tools/binman/elf.py
tools/binman/elf_test.py
tools/binman/entry.py
tools/binman/entry_test.py
tools/binman/etype/_testing.py
tools/binman/etype/atf_fip.py
tools/binman/etype/blob.py
tools/binman/etype/blob_ext.py
tools/binman/etype/blob_ext_list.py
tools/binman/etype/fdtmap.py
tools/binman/etype/files.py
tools/binman/etype/fill.py
tools/binman/etype/fit.py
tools/binman/etype/fmap.py
tools/binman/etype/gbb.py
tools/binman/etype/intel_ifwi.py
tools/binman/etype/mkimage.py
tools/binman/etype/null.py
tools/binman/etype/pre_load.py
tools/binman/etype/section.py
tools/binman/etype/text.py
tools/binman/etype/u_boot_dtb_with_ucode.py
tools/binman/etype/u_boot_elf.py
tools/binman/etype/u_boot_env.py
tools/binman/etype/u_boot_spl_bss_pad.py
tools/binman/etype/u_boot_spl_expanded.py
tools/binman/etype/u_boot_tpl_bss_pad.py
tools/binman/etype/u_boot_tpl_expanded.py
tools/binman/etype/u_boot_tpl_with_ucode_ptr.py
tools/binman/etype/u_boot_ucode.py
tools/binman/etype/u_boot_vpl_bss_pad.py
tools/binman/etype/u_boot_vpl_expanded.py
tools/binman/etype/u_boot_with_ucode_ptr.py
tools/binman/etype/vblock.py
tools/binman/fdt_test.py
tools/binman/fip_util.py
tools/binman/fip_util_test.py
tools/binman/fmap_util.py
tools/binman/ftest.py
tools/binman/image.py
tools/binman/image_test.py
tools/binman/main.py
tools/binman/state.py
tools/buildman/builder.py
tools/buildman/builderthread.py
tools/buildman/cfgutil.py
tools/buildman/control.py
tools/buildman/func_test.py
tools/buildman/main.py
tools/buildman/test.py
tools/buildman/toolchain.py
tools/dtoc/fdt.py
tools/dtoc/fdt_util.py
tools/dtoc/main.py
tools/dtoc/test_dtoc.py
tools/dtoc/test_fdt.py
tools/dtoc/test_src_scan.py
tools/patman/__init__.py
tools/patman/__main__.py
tools/patman/checkpatch.py
tools/patman/control.py
tools/patman/func_test.py
tools/patman/get_maintainer.py
tools/patman/gitutil.py
tools/patman/patchstream.py
tools/patman/series.py
tools/patman/status.py
tools/patman/test_settings.py
tools/rmboard.py
tools/u_boot_pylib/__init__.py [new file with mode: 0644]
tools/u_boot_pylib/__main__.py [new file with mode: 0755]
tools/u_boot_pylib/command.py [moved from tools/patman/command.py with 99% similarity]
tools/u_boot_pylib/cros_subprocess.py [moved from tools/patman/cros_subprocess.py with 100% similarity]
tools/u_boot_pylib/terminal.py [moved from tools/patman/terminal.py with 100% similarity]
tools/u_boot_pylib/test_util.py [moved from tools/patman/test_util.py with 99% similarity]
tools/u_boot_pylib/tools.py [moved from tools/patman/tools.py with 99% similarity]
tools/u_boot_pylib/tout.py [moved from tools/patman/tout.py with 99% similarity]
tools/u_boot_pylib/u_boot_pylib [new symlink]