diff options
author | Yingke Liu <yingke.d.liu@intel.com> | 2014-09-12 06:57:22 +0000 |
---|---|---|
committer | yingke <yingke@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-12 06:57:22 +0000 |
commit | 7ae7dcb976a948ce7dea16a4e83f7e5ca1e1d291 (patch) | |
tree | 5fb969f1af76f99f372272153f610c3d745e64ec /BaseTools | |
parent | b6341b26989a482466877bd77b7008706dd6aaeb (diff) | |
download | edk2-platforms-7ae7dcb976a948ce7dea16a4e83f7e5ca1e1d291.tar.xz |
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
Diffstat (limited to 'BaseTools')
-rw-r--r-- | BaseTools/Source/Python/GenFds/FfsInfStatement.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/GenFds/FfsInfStatement.py b/BaseTools/Source/Python/GenFds/FfsInfStatement.py index 6f5aac02f5..040d2ebcd4 100644 --- a/BaseTools/Source/Python/GenFds/FfsInfStatement.py +++ b/BaseTools/Source/Python/GenFds/FfsInfStatement.py @@ -68,6 +68,7 @@ class FfsInfStatement(FfsInfStatementClassObject): self.InfFileName = None
self.OverrideGuid = None
self.PatchedBinFile = ''
+ self.MacroDict = {}
## GetFinalTargetSuffixMap() method
#
|