From: Liming Gao Date: Tue, 25 Sep 2018 01:36:00 +0000 (+0800) Subject: BaseTools: Fix the wrong reference _GetSkuIds() in AutoGen code X-Git-Tag: edk2-stable201903~960 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=f27e800a99866543a4bfc36088bcbb7b81f33a99 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 Cc: Yonghong Zhu Cc: Jaben Carsey Reviewed-by: Jaben Carsey --- 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