diff options
author | Liming Gao <liming.gao@intel.com> | 2018-09-25 09:36:00 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-09-26 22:15:42 +0800 |
commit | f27e800a99866543a4bfc36088bcbb7b81f33a99 (patch) | |
tree | 7ab1d1336dce6f5a091487a5b4a3ec21e611ac69 /BaseTools/Source/Python/AutoGen | |
parent | 8a94eb9283fa09a30f5f06f0c12cf0ee4e14fbcf (diff) | |
download | edk2-f27e800a99866543a4bfc36088bcbb7b81f33a99.tar.gz edk2-f27e800a99866543a4bfc36088bcbb7b81f33a99.tar.bz2 edk2-f27e800a99866543a4bfc36088bcbb7b81f33a99.zip |
BaseTools: Fix the wrong reference _GetSkuIds() in AutoGen code
DscBuildData has been updated to define SkuIds instead of _GetSkuIds().
The consumer code should refer to SkuIds.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen')
-rw-r--r-- | BaseTools/Source/Python/AutoGen/AutoGen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGen.py index 5271b44582..38f126095d 100644 --- a/BaseTools/Source/Python/AutoGen/AutoGen.py +++ b/BaseTools/Source/Python/AutoGen/AutoGen.py @@ -1153,7 +1153,7 @@ class PlatformAutoGen(AutoGen): VpdRegionBase = FdRegion.Offset
break
- VariableInfo = VariableMgr(self.DscBuildDataObj._GetDefaultStores(), self.DscBuildDataObj._GetSkuIds())
+ VariableInfo = VariableMgr(self.DscBuildDataObj._GetDefaultStores(), self.DscBuildDataObj.SkuIds)
VariableInfo.SetVpdRegionMaxSize(VpdRegionSize)
VariableInfo.SetVpdRegionOffset(VpdRegionBase)
Index = 0
|