mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
BaseTools: Add WindowsLike path in front of PATH Env
Original BaseTools source build append WindowsLike path to PATH Env, while WINDDK installation has a "build.exe", if user place WINDDK folder to PATH either during WINDDK installation or manually, it will block the BaseTools' build.bat. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
75505d1611
commit
ffcec664ca
@ -317,7 +317,7 @@ goto end
|
||||
echo !!! WARNING !!! PYTHON_FREEZER_PATH environment variable is not set.
|
||||
echo Setup environment to run Python scripts directly.
|
||||
echo.
|
||||
set "PATH=%PATH%;%BASE_TOOLS_PATH%\BinWrappers\WindowsLike"
|
||||
set "PATH=%BASE_TOOLS_PATH%\BinWrappers\WindowsLike;%PATH%"
|
||||
)
|
||||
|
||||
set BASETOOLS_PYTHON_SOURCE=%BASE_TOOLS_PATH%\Source\Python
|
||||
|
Loading…
x
Reference in New Issue
Block a user