From b1956b5d42182309604d008036882e62f17d1ccf Mon Sep 17 00:00:00 2001 From: Bin Wang Date: Mon, 26 Feb 2018 16:19:30 +0800 Subject: [PATCH] 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 --- BaseTools/Source/Python/GenFds/GenFds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] + \ '_' + \