]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/Source/Python: New Target/ToolChain/Arch in DSC [BuildOptions]
authorMichael D Kinney <michael.d.kinney@intel.com>
Wed, 21 Apr 2021 06:12:51 +0000 (23:12 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 29 Apr 2021 07:29:17 +0000 (07:29 +0000)
commitab957f036f6711869283217227480b109aedc8ef
treeb8e51dea2dec37738fe90dbbe3d4f4bf34d24c97
parent612edbe6cd71f4392b681b75849b2ab6e48f592d
BaseTools/Source/Python: New Target/ToolChain/Arch in DSC [BuildOptions]

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3359

Update BaseTools to support new build targets, new tool chains,
and new architectures declared in DSC file [BuildOptions] sections.

* Do not expand * when tools_def.txt is parsed.  Only expand when
  both tools_def.txt and DSC [BuilsOptions] sections have been parsed.
  This also requires more flexible matching of tool keys that contain *
  in tool key fields.

* Pre-scan the platform DSC file for FAMILY and TOOLCHAIN declarations
  DSC in [BuildOptions] sections before the FAMILY and TOOLCHAIN need
  to be known.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/AutoGen/ModuleAutoGenHelper.py
BaseTools/Source/Python/AutoGen/PlatformAutoGen.py
BaseTools/Source/Python/Common/ToolDefClassObject.py
BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
BaseTools/Source/Python/build/build.py