]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/AutoGen/GenC.py
BaseTools: Decouple AutoGen Objects
[mirror_edk2.git] / BaseTools / Source / Python / AutoGen / GenC.py
index 4cb776206e90623d426d9d440a9921237815a1aa..4c3f4e3e55aed569dc6c9bfa4a893a629dc4ff73 100644 (file)
@@ -1629,7 +1629,7 @@ def CreatePcdCode(Info, AutoGenC, AutoGenH):
         if Pcd.Type in PCD_DYNAMIC_EX_TYPE_SET and Pcd.TokenSpaceGuidCName not in TokenSpaceList:\r
             TokenSpaceList.append(Pcd.TokenSpaceGuidCName)\r
 \r
-    SkuMgr = Info.Workspace.Platform.SkuIdMgr\r
+    SkuMgr = Info.PlatformInfo.Platform.SkuIdMgr\r
     AutoGenH.Append("\n// Definition of SkuId Array\n")\r
     AutoGenH.Append("extern UINT64 _gPcd_SkuId_Array[];\n")\r
     # Add extern declarations to AutoGen.h if one or more Token Space GUIDs were found\r