]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Fix the wrong reference _GetSkuIds() in AutoGen code
authorLiming Gao <liming.gao@intel.com>
Tue, 25 Sep 2018 01:36:00 +0000 (09:36 +0800)
committerLiming Gao <liming.gao@intel.com>
Wed, 26 Sep 2018 14:15:42 +0000 (22:15 +0800)
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>
BaseTools/Source/Python/AutoGen/AutoGen.py

index 5271b44582bb37b45bf10c9245b2a5feeccf8b67..38f126095ded1c3f73d469a2c7b1dc72457e6faa 100644 (file)
@@ -1153,7 +1153,7 @@ class PlatformAutoGen(AutoGen):
                         VpdRegionBase = FdRegion.Offset\r
                         break\r
 \r
                         VpdRegionBase = FdRegion.Offset\r
                         break\r
 \r
-        VariableInfo = VariableMgr(self.DscBuildDataObj._GetDefaultStores(), self.DscBuildDataObj._GetSkuIds())\r
+        VariableInfo = VariableMgr(self.DscBuildDataObj._GetDefaultStores(), self.DscBuildDataObj.SkuIds)\r
         VariableInfo.SetVpdRegionMaxSize(VpdRegionSize)\r
         VariableInfo.SetVpdRegionOffset(VpdRegionBase)\r
         Index = 0\r
         VariableInfo.SetVpdRegionMaxSize(VpdRegionSize)\r
         VariableInfo.SetVpdRegionOffset(VpdRegionBase)\r
         Index = 0\r