BaseTools: compare GUID value should not case-sensitive
[mirror_edk2.git] / BaseTools / Source / Python / GenFds / GenFds.py
index 03126e35f47ae3259a094a0274059510baf41b86..26122fc09943d8ca1645296e21c513461315553a 100644 (file)
@@ -399,7 +399,7 @@ def FindExtendTool(KeyStringList, CurrentArchList, NameGuid):
     ToolOptionKey = None\r
     KeyList = None\r
     for ToolDef in ToolDefinition.items():\r
-        if NameGuid == ToolDef[1]:\r
+        if NameGuid.lower() == ToolDef[1].lower() :\r
             KeyList = ToolDef[0].split('_')\r
             Key = KeyList[0] + \\r
                   '_' + \\r