mirror of https://github.com/acidanthera/audk.git
BaseTools: Fix the Keyword error for <ExtendedFvEntry> in FDF File
current in FDF spec 3.6 [FV] section it use "FV_EXT_ENTRY_TYPE" as Keyword for <ExtendedFvEntry>, while in the code it use "FV_EXT_ENTRY". To keep compatibility, this patch support both keyword in the code first. Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
cc71d8b7f8
commit
92d07e4890
|
@ -2365,7 +2365,7 @@ class FdfParser:
|
|||
|
||||
def __GetFvExtEntryStatement(self, FvObj):
|
||||
|
||||
if not self.__IsKeyword( "FV_EXT_ENTRY"):
|
||||
if not (self.__IsKeyword( "FV_EXT_ENTRY") or self.__IsKeyword( "FV_EXT_ENTRY_TYPE")):
|
||||
return False
|
||||
|
||||
if not self.__IsKeyword ("TYPE"):
|
||||
|
|
Loading…
Reference in New Issue