]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/GenFds/Vtf.py
Sync EDKII BaseTools to BaseTools project r2000
[mirror_edk2.git] / BaseTools / Source / Python / GenFds / Vtf.py
index 2bea9346cf438f8ba45220526ad0648de2e00d14..e7e36491db60fbe24f01de4fd734617c0502b13e 100644 (file)
@@ -67,6 +67,14 @@ class Vtf (VtfClassObject):
         FvList = self.GetFvList()\r
         self.BsfInfName = os.path.join(GenFdsGlobalVariable.FvDir, self.UiName + '.inf')\r
         BsfInf = open (self.BsfInfName, 'w+')\r
+        if self.ResetBin != None:\r
+            BsfInf.writelines ("[OPTIONS]" + T_CHAR_LF)\r
+            BsfInf.writelines ("IA32_RST_BIN"     + \\r
+                               " = "              + \\r
+                               GenFdsGlobalVariable.MacroExtend(GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.ResetBin)) + \\r
+                               T_CHAR_LF )\r
+            BsfInf.writelines (T_CHAR_LF )\r
+        \r
         BsfInf.writelines ("[COMPONENTS]" + T_CHAR_LF)\r
 \r
         for ComponentObj in self.ComponentStatementList :\r