diff options
author | Liming Gao <liming.gao@intel.com> | 2016-09-12 15:19:37 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-09-21 10:49:12 +0800 |
commit | bf069759efc4d3b76c66bf992c49d673bb292410 (patch) | |
tree | f7c9874e0beee4aa508a4d1b9d8a7aee8cd9822e /BaseTools/BinWrappers/WindowsLike | |
parent | b6e89910dd31e38944900ddc5cb4b86cf25241b4 (diff) | |
download | edk2-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')
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/BPDG.bat | 3 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/Ecc.bat | 3 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/GenDepex.bat | 3 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/GenFds.bat | 3 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/GenPatchPcdTable.bat | 3 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/PatchPcdValue.bat | 3 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/Pkcs7Sign.bat | 3 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256GenerateKeys.bat | 1 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256Sign.bat | 3 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/TargetTool.bat | 3 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/Trim.bat | 3 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/UPT.bat | 3 | ||||
-rw-r--r-- | BaseTools/BinWrappers/WindowsLike/build.bat | 3 |
13 files changed, 37 insertions, 0 deletions
diff --git a/BaseTools/BinWrappers/WindowsLike/BPDG.bat b/BaseTools/BinWrappers/WindowsLike/BPDG.bat new file mode 100644 index 0000000000..9fbb704a6e --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/BPDG.bat @@ -0,0 +1,3 @@ +@setlocal
+@set ToolName=%~n0%
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
diff --git a/BaseTools/BinWrappers/WindowsLike/Ecc.bat b/BaseTools/BinWrappers/WindowsLike/Ecc.bat new file mode 100644 index 0000000000..9fbb704a6e --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/Ecc.bat @@ -0,0 +1,3 @@ +@setlocal
+@set ToolName=%~n0%
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
diff --git a/BaseTools/BinWrappers/WindowsLike/GenDepex.bat b/BaseTools/BinWrappers/WindowsLike/GenDepex.bat new file mode 100644 index 0000000000..9fbb704a6e --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/GenDepex.bat @@ -0,0 +1,3 @@ +@setlocal
+@set ToolName=%~n0%
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
diff --git a/BaseTools/BinWrappers/WindowsLike/GenFds.bat b/BaseTools/BinWrappers/WindowsLike/GenFds.bat new file mode 100644 index 0000000000..9fbb704a6e --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/GenFds.bat @@ -0,0 +1,3 @@ +@setlocal
+@set ToolName=%~n0%
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
diff --git a/BaseTools/BinWrappers/WindowsLike/GenPatchPcdTable.bat b/BaseTools/BinWrappers/WindowsLike/GenPatchPcdTable.bat new file mode 100644 index 0000000000..9fbb704a6e --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/GenPatchPcdTable.bat @@ -0,0 +1,3 @@ +@setlocal
+@set ToolName=%~n0%
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
diff --git a/BaseTools/BinWrappers/WindowsLike/PatchPcdValue.bat b/BaseTools/BinWrappers/WindowsLike/PatchPcdValue.bat new file mode 100644 index 0000000000..9fbb704a6e --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/PatchPcdValue.bat @@ -0,0 +1,3 @@ +@setlocal
+@set ToolName=%~n0%
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
diff --git a/BaseTools/BinWrappers/WindowsLike/Pkcs7Sign.bat b/BaseTools/BinWrappers/WindowsLike/Pkcs7Sign.bat new file mode 100644 index 0000000000..9fbb704a6e --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/Pkcs7Sign.bat @@ -0,0 +1,3 @@ +@setlocal
+@set ToolName=%~n0%
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
diff --git a/BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256GenerateKeys.bat b/BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256GenerateKeys.bat new file mode 100644 index 0000000000..df9336567c --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256GenerateKeys.bat @@ -0,0 +1 @@ +@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\Rsa2048Sha256Sign\Rsa2048Sha256GenerateKeys.py %*
diff --git a/BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256Sign.bat b/BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256Sign.bat new file mode 100644 index 0000000000..9fbb704a6e --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/Rsa2048Sha256Sign.bat @@ -0,0 +1,3 @@ +@setlocal
+@set ToolName=%~n0%
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
diff --git a/BaseTools/BinWrappers/WindowsLike/TargetTool.bat b/BaseTools/BinWrappers/WindowsLike/TargetTool.bat new file mode 100644 index 0000000000..9fbb704a6e --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/TargetTool.bat @@ -0,0 +1,3 @@ +@setlocal
+@set ToolName=%~n0%
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
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 %*
diff --git a/BaseTools/BinWrappers/WindowsLike/UPT.bat b/BaseTools/BinWrappers/WindowsLike/UPT.bat new file mode 100644 index 0000000000..9fbb704a6e --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/UPT.bat @@ -0,0 +1,3 @@ +@setlocal
+@set ToolName=%~n0%
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
diff --git a/BaseTools/BinWrappers/WindowsLike/build.bat b/BaseTools/BinWrappers/WindowsLike/build.bat new file mode 100644 index 0000000000..9fbb704a6e --- /dev/null +++ b/BaseTools/BinWrappers/WindowsLike/build.bat @@ -0,0 +1,3 @@ +@setlocal
+@set ToolName=%~n0%
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
|