BaseTools: Update the FV region name as upper letter

Since in the GenFds phase, the FV is generated as upper letter. This
patch update the FV region name as upper letter, it can fix the build
report generate failure on case sensitive file system.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Andrew Fish <afish@apple.com>
This commit is contained in:
Yonghong Zhu 2016-07-11 15:52:09 +08:00
parent 0e2c6c5529
commit 0199377c0d
1 changed files with 2 additions and 2 deletions

View File

@ -1942,7 +1942,7 @@ class FdfParser:
raise Warning("expected FV name", self.FileName, self.CurrentLineNumber)
RegionObj.RegionType = "FV"
RegionObj.RegionDataList.append(self.__Token)
RegionObj.RegionDataList.append((self.__Token).upper())
while self.__IsKeyword( "FV"):
@ -1952,7 +1952,7 @@ class FdfParser:
if not self.__GetNextToken():
raise Warning("expected FV name", self.FileName, self.CurrentLineNumber)
RegionObj.RegionDataList.append(self.__Token)
RegionObj.RegionDataList.append((self.__Token).upper())
## __GetRegionCapType() method
#