BaseTools: Use pip module if available, CI uses it by default
Use the new edk2-basetools pip module. Includes a helpful message in setup to let users know which has been selected. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com> Reviewed-by: Yuwei <Chen<yuwei.chen@intel.com> Signed-off-by: Matthew Carlson <matthewfcarlson@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
ecc267fec5
commit
1534b6228b
3
BaseTools/BinPipWrappers/WindowsLike/AmlToC.bat
Normal file
3
BaseTools/BinPipWrappers/WindowsLike/AmlToC.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.%ToolName% %*
|
3
BaseTools/BinPipWrappers/WindowsLike/BPDG.bat
Normal file
3
BaseTools/BinPipWrappers/WindowsLike/BPDG.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.%ToolName% %*
|
3
BaseTools/BinPipWrappers/WindowsLike/Ecc.bat
Normal file
3
BaseTools/BinPipWrappers/WindowsLike/Ecc.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.EccMain %*
|
3
BaseTools/BinPipWrappers/WindowsLike/GenDepex.bat
Normal file
3
BaseTools/BinPipWrappers/WindowsLike/GenDepex.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.AutoGen.%ToolName% %*
|
3
BaseTools/BinPipWrappers/WindowsLike/GenFds.bat
Normal file
3
BaseTools/BinPipWrappers/WindowsLike/GenFds.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.%ToolName% %*
|
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.%ToolName% %*
|
1
BaseTools/BinPipWrappers/WindowsLike/GenerateCapsule.bat
Normal file
1
BaseTools/BinPipWrappers/WindowsLike/GenerateCapsule.bat
Normal file
@@ -0,0 +1 @@
|
||||
@%PYTHON_COMMAND% -m edk2basetools.Capsule.GenerateCapsule %*
|
3
BaseTools/BinPipWrappers/WindowsLike/PatchPcdValue.bat
Normal file
3
BaseTools/BinPipWrappers/WindowsLike/PatchPcdValue.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.%ToolName% %*
|
3
BaseTools/BinPipWrappers/WindowsLike/Pkcs7Sign.bat
Normal file
3
BaseTools/BinPipWrappers/WindowsLike/Pkcs7Sign.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.%ToolName% %*
|
@@ -0,0 +1 @@
|
||||
@%PYTHON_COMMAND% -m edk2basetools.Rsa2048Sha256Sign.Rsa2048Sha256GenerateKeys %*
|
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.%ToolName% %*
|
3
BaseTools/BinPipWrappers/WindowsLike/Split.bat
Normal file
3
BaseTools/BinPipWrappers/WindowsLike/Split.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.%ToolName% %*
|
3
BaseTools/BinPipWrappers/WindowsLike/TargetTool.bat
Normal file
3
BaseTools/BinPipWrappers/WindowsLike/TargetTool.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.%ToolName% %*
|
3
BaseTools/BinPipWrappers/WindowsLike/Trim.bat
Normal file
3
BaseTools/BinPipWrappers/WindowsLike/Trim.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.%ToolName% %*
|
3
BaseTools/BinPipWrappers/WindowsLike/UPT.bat
Normal file
3
BaseTools/BinPipWrappers/WindowsLike/UPT.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.%ToolName% %*
|
3
BaseTools/BinPipWrappers/WindowsLike/build.bat
Normal file
3
BaseTools/BinPipWrappers/WindowsLike/build.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@setlocal
|
||||
@set ToolName=%~n0%
|
||||
@%PYTHON_COMMAND% -m edk2basetools.%ToolName%.%ToolName% %*
|
@@ -0,0 +1,11 @@
|
||||
## @file
|
||||
# Add this folder to the path on Windows
|
||||
#
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
##
|
||||
{
|
||||
"scope": "pipbuild-win",
|
||||
"override_id": "binwrappers",
|
||||
"flags": ["set_path"]
|
||||
}
|
Reference in New Issue
Block a user