summaryrefslogtreecommitdiffstats
path: root/BaseTools/BinWrappers/WindowsLike/Trim.bat
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2016-09-12 15:19:37 +0800
committerLiming Gao <liming.gao@intel.com>2016-09-21 10:49:12 +0800
commitbf069759efc4d3b76c66bf992c49d673bb292410 (patch)
treef7c9874e0beee4aa508a4d1b9d8a7aee8cd9822e /BaseTools/BinWrappers/WindowsLike/Trim.bat
parentb6e89910dd31e38944900ddc5cb4b86cf25241b4 (diff)
downloadedk2-bf069759efc4d3b76c66bf992c49d673bb292410.tar.gz
edk2-bf069759efc4d3b76c66bf992c49d673bb292410.tar.bz2
edk2-bf069759efc4d3b76c66bf992c49d673bb292410.zip
BaseTools: Add Windows batch files to run python tool from Source
Add 13 windows batch files for every python tool. Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Erik Bjorge <erik.c.bjorge@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
Diffstat (limited to 'BaseTools/BinWrappers/WindowsLike/Trim.bat')
-rw-r--r--BaseTools/BinWrappers/WindowsLike/Trim.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/BaseTools/BinWrappers/WindowsLike/Trim.bat b/BaseTools/BinWrappers/WindowsLike/Trim.bat
new file mode 100644
index 0000000000..9fbb704a6e
--- /dev/null
+++ b/BaseTools/BinWrappers/WindowsLike/Trim.bat
@@ -0,0 +1,3 @@
+@setlocal
+@set ToolName=%~n0%
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*