Reviewed-by: Liming Gao <liming....@intel.com>

> -----Original Message-----
> From: Zhu, Yonghong
> Sent: Monday, July 11, 2016 4:10 PM
> To: edk2-devel@lists.01.org
> Cc: Gao, Liming <liming....@intel.com>
> Subject: [Patch] 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....@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Yonghong Zhu <yonghong....@intel.com>
> ---
>  BaseTools/Source/Python/GenFds/FdfParser.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/BaseTools/Source/Python/GenFds/FdfParser.py
> b/BaseTools/Source/Python/GenFds/FdfParser.py
> index 39f951a..56303e1 100644
> --- a/BaseTools/Source/Python/GenFds/FdfParser.py
> +++ b/BaseTools/Source/Python/GenFds/FdfParser.py
> @@ -1940,21 +1940,21 @@ class FdfParser:
> 
>          if not self.__GetNextToken():
>              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"):
> 
>              if not self.__IsToken( "="):
>                  raise Warning("expected '='", self.FileName,
> self.CurrentLineNumber)
> 
>              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
>      #
>      #   Get region capsule data for region
>      #
> --
> 2.6.1.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to