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:
@@ -317,7 +317,7 @@ goto end
|
|||||||
echo !!! WARNING !!! PYTHON_FREEZER_PATH environment variable is not set.
|
echo !!! WARNING !!! PYTHON_FREEZER_PATH environment variable is not set.
|
||||||
echo Setup environment to run Python scripts directly.
|
echo Setup environment to run Python scripts directly.
|
||||||
echo.
|
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
|
set BASETOOLS_PYTHON_SOURCE=%BASE_TOOLS_PATH%\Source\Python
|
||||||
|
Reference in New Issue
Block a user