mirror of https://github.com/acidanthera/audk.git
BaseTools: Fix the regression issue after enbaling s_* an d_* macros in FDF.
Add the missing 'MacroDict' field in FfsInfStatement. The issue is that BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 448, in __ExtendMacro__ String = GenFdsGlobalVariable.MacroExtend(String, self.MacroDict) AttributeError: OptRomInfStatement instance has no attribute 'MacroDict' Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yingke Liu <yingke.d.liu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16099 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b6341b2698
commit
7ae7dcb976
|
@ -68,6 +68,7 @@ class FfsInfStatement(FfsInfStatementClassObject):
|
|||
self.InfFileName = None
|
||||
self.OverrideGuid = None
|
||||
self.PatchedBinFile = ''
|
||||
self.MacroDict = {}
|
||||
|
||||
## GetFinalTargetSuffixMap() method
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue