From 6310ffd7810501dc51e978b87f50f81ff61720b1 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Wed, 28 Jul 2010 03:07:30 +0000 Subject: Sync EDKII BaseTools to BaseTools project r2000 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10706 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/Python/GenFds/Vtf.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'BaseTools/Source/Python/GenFds/Vtf.py') diff --git a/BaseTools/Source/Python/GenFds/Vtf.py b/BaseTools/Source/Python/GenFds/Vtf.py index 2bea9346cf..e7e36491db 100644 --- a/BaseTools/Source/Python/GenFds/Vtf.py +++ b/BaseTools/Source/Python/GenFds/Vtf.py @@ -67,6 +67,14 @@ class Vtf (VtfClassObject): FvList = self.GetFvList() self.BsfInfName = os.path.join(GenFdsGlobalVariable.FvDir, self.UiName + '.inf') BsfInf = open (self.BsfInfName, 'w+') + if self.ResetBin != None: + BsfInf.writelines ("[OPTIONS]" + T_CHAR_LF) + BsfInf.writelines ("IA32_RST_BIN" + \ + " = " + \ + GenFdsGlobalVariable.MacroExtend(GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.ResetBin)) + \ + T_CHAR_LF ) + BsfInf.writelines (T_CHAR_LF ) + BsfInf.writelines ("[COMPONENTS]" + T_CHAR_LF) for ComponentObj in self.ComponentStatementList : -- cgit v1.2.3