diff options
author | Bin Wang <binx.a.wang@intel.com> | 2018-02-26 16:19:30 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-03-29 16:34:54 +0800 |
commit | b1956b5d42182309604d008036882e62f17d1ccf (patch) | |
tree | cdfc35842f40804b3c1d14c5af42a697d7f95f52 /BaseTools/Source/Python | |
parent | cc0321f22ac7422a2d477c98fed209547eaf0cb5 (diff) | |
download | edk2-b1956b5d42182309604d008036882e62f17d1ccf.tar.gz |
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 <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bin Wang <binx.a.wang@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
-rw-r--r-- | BaseTools/Source/Python/GenFds/GenFds.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] + \
'_' + \
|