diff options
author | Gua Guo <gua.guo@intel.com> | 2023-05-26 07:55:11 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-05-29 01:34:28 +0000 |
commit | 0f8323b44b20c982f303cc01ccf7146556bc3d4d (patch) | |
tree | f9aa26faf4f6c4d62fc6b71bbdbc79c5b0e7c581 /FatPkg/FatPkg.ci.yaml | |
parent | ba91d0292e593df8528b66f99c1b0b14fadc8e16 (diff) | |
download | edk2-0f8323b44b20c982f303cc01ccf7146556bc3d4d.tar.gz edk2-0f8323b44b20c982f303cc01ccf7146556bc3d4d.tar.bz2 edk2-0f8323b44b20c982f303cc01ccf7146556bc3d4d.zip |
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 <rebecca@bsdio.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Gua Guo <gua.guo@intel.com>
Reviewed-by: Rebecca Cran <rebecca@bsdio.com>
Diffstat (limited to 'FatPkg/FatPkg.ci.yaml')
0 files changed, 0 insertions, 0 deletions