From: Bin Wang Date: Mon, 26 Feb 2018 08:19:30 +0000 (+0800) Subject: BaseTools: compare GUID value should not case-sensitive X-Git-Tag: edk2-stable201903~2014 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=b1956b5d42182309604d008036882e62f17d1ccf;hp=cc0321f22ac7422a2d477c98fed209547eaf0cb5 BaseTools: compare GUID value should not case-sensitive build report error when the same Guid value in FDF file use lowercase, in tools_def.txt file use uppercase. The guid value's compare should not case-sensitive. Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bin Wang Reviewed-by: Yonghong Zhu --- diff --git a/BaseTools/Source/Python/GenFds/GenFds.py b/BaseTools/Source/Python/GenFds/GenFds.py index 03126e35f4..26122fc099 100644 --- a/BaseTools/Source/Python/GenFds/GenFds.py +++ b/BaseTools/Source/Python/GenFds/GenFds.py @@ -399,7 +399,7 @@ def FindExtendTool(KeyStringList, CurrentArchList, NameGuid): ToolOptionKey = None KeyList = None for ToolDef in ToolDefinition.items(): - if NameGuid == ToolDef[1]: + if NameGuid.lower() == ToolDef[1].lower() : KeyList = ToolDef[0].split('_') Key = KeyList[0] + \ '_' + \