Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 0f8323b44b20c982f303cc01ccf7146556bc3d4d
https://github.com/tianocore/edk2/commit/0f8323b44b20c982f303cc01ccf7146556bc3d4d
Author: Gua Guo <[email protected]>
Date: 2023-05-29 (Mon, 29 May 2023)
Changed paths:
M BaseTools/toolsetup.bat
Log Message:
-----------
BaseTools: toolsetup.bat always execute PYTHON_HOME
Ideally behavior is like below order that can support one local build
machine, clone multiple Edk2, some of edk2 repo use old tag and
some of edk2 repo use new tag, they can both support on one machine.
1. if defined PYTHON_COMMAND only
- use PYTHON_COMMAND = user assigned
2. if not defined PYTHON_COMMAND, auto detect py -3
- use PYTHON_COMMAND = py -3
3. if defined PYTHON_COMMAND and PYTHON_HOME, use PYTHON_COMMAND
- use PYTHON_COMMAND = user assigned
4. if defined PYTHON_HOME only,
- use PYTHON_COMMAND = %PYTHON_HOME%/python.exe
SCRIPT_ERROR should return for paraent batch file to consume
for error handle.
Cc: Rebecca Cran <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Bob Feng <[email protected]>
Cc: Yuwei Chen <[email protected]>
Signed-off-by: Gua Guo <[email protected]>
Reviewed-by: Rebecca Cran <[email protected]>
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits