]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/AutoGen/PlatformAutoGen.py
BaseTools:GuidedSectionTools.txt is not generated correctly
[mirror_edk2.git] / BaseTools / Source / Python / AutoGen / PlatformAutoGen.py
index d32178b00c936b9682b2cba5f1209e8efcb5c3e5..af66c48c7d6a03a2cce8b1bc6aa3a8330481774c 100644 (file)
@@ -866,7 +866,8 @@ class PlatformAutoGen(AutoGen):
                             Value += " " + self._BuildOptionWithToolDef(RetVal)[Tool][Attr]\r
                         else:\r
                             Value = self._BuildOptionWithToolDef(RetVal)[Tool][Attr]\r
-\r
+                            Def = '_'.join([self.BuildTarget, self.ToolChain, self.Arch, Tool, Attr])\r
+                            self.Workspace.ToolDef.ToolsDefTxtDictionary[Def] = Value\r
                 if Attr == "PATH":\r
                     # Don't put MAKE definition in the file\r
                     if Tool != "MAKE":\r