]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/AutoGen/PlatformAutoGen.py
BaseTools: Fix DSC override of Guided tool
authorMichael D Kinney <michael.d.kinney@intel.com>
Fri, 7 May 2021 15:40:29 +0000 (08:40 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 May 2021 23:28:58 +0000 (23:28 +0000)
commitef3840c1ff320698523dd6b94ba7c86354392784
treede81ba023f52d0cfde707e6afa11ec4902ebf47d
parent375f2d8e684dce2ab6f375382f35e546c7ab62ee
BaseTools: Fix DSC override of Guided tool

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

If the DSC file provides an override of a Guided tool path
and/or Guided tool GUID value, then make sure the one from the
DSC file is used if it is higher priority than the Guided tool
in the tools_def.txt file.  This makes the Guided tool used by
GenFds match the tool listed GuidedSectionTools.txt.

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/PlatformAutoGen.py
BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
BaseTools/Source/Python/build/build.py