From 5b4a97bbc39ed8e7eb50038b9cffe2e948e49995 Mon Sep 17 00:00:00 2001 From: Bob Feng Date: Wed, 13 Jan 2021 11:12:24 +0800 Subject: BaseTools: Convert Split tool to python REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3165 There are 2 reasons to convert Split tool from C to Python. 1. We are in the process of moving the Basetools Python code to a separate repository. But there still are many C tools under edk2/BaseTools. To make all Basetools be in the separate repo, we can convert the C tools to Python tools. 2. The original Split tool is very slow. This python tool can reduce 90% time. Signed-off-by: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Reviewed-by: Liming Gao Reviewed-by: Yuwei Chen --- BaseTools/BinWrappers/WindowsLike/Split.bat | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 BaseTools/BinWrappers/WindowsLike/Split.bat (limited to 'BaseTools/BinWrappers/WindowsLike/Split.bat') diff --git a/BaseTools/BinWrappers/WindowsLike/Split.bat b/BaseTools/BinWrappers/WindowsLike/Split.bat new file mode 100644 index 0000000000..9616cd893b --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/Split.bat @@ -0,0 +1,3 @@ +@setlocal +@set ToolName=%~n0% +@%PYTHON_COMMAND% %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %* -- cgit v1.2.3