## @file
# generate capsule
#
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
##
# Import Modules
#
import os
import subprocess
import StringIO
## create inf file describes what goes into capsule and call GenFv to generate capsule
#
#
## The constructor
#
# @param self The object pointer
#
# For GenFv
# For GenFv
self.CapsuleName = None
## Generate capsule
#
# @param self The object pointer
# @retval string Generated Capsule file path
#
CapFileList = []
CapsuleDataObj.CapsuleName = None
FileName + \
#
# Call GenFv tool to generate capsule
#
)
return CapOutputFile
## Generate inf file for capsule
#
# @param self The object pointer
# @retval file inf file object
#
Item + \
' = ' + \
return CapInfFile