Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 0f8323b44b20c982f303cc01ccf7146556bc3d4d https://github.com/tianocore/edk2/commit/0f8323b44b20c982f303cc01ccf7146556bc3d4d Author: Gua Guo <gua....@intel.com> 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 <rebe...@bsdio.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Cc: Bob Feng <bob.c.f...@intel.com> Cc: Yuwei Chen <yuwei.c...@intel.com> Signed-off-by: Gua Guo <gua....@intel.com> Reviewed-by: Rebecca Cran <rebe...@bsdio.com> _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits