summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2018-09-25 09:36:00 +0800
committerLiming Gao <liming.gao@intel.com>2018-09-26 22:15:42 +0800
commitf27e800a99866543a4bfc36088bcbb7b81f33a99 (patch)
tree7ab1d1336dce6f5a091487a5b4a3ec21e611ac69
parent8a94eb9283fa09a30f5f06f0c12cf0ee4e14fbcf (diff)
downloadedk2-f27e800a99866543a4bfc36088bcbb7b81f33a99.zip
edk2-f27e800a99866543a4bfc36088bcbb7b81f33a99.tar.gz
edk2-f27e800a99866543a4bfc36088bcbb7b81f33a99.tar.bz2
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>
-rw-r--r--BaseTools/Source/Python/AutoGen/AutoGen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGen.py
index 5271b44..38f1260 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