This patch is going to:
1. Add a recovery mode for UPT failure 2. Add UNI file support 3. Add binary file header support 4. Add support for PCD error message 5. Add support for replace 6. Format generated INF/DEC files 7. Update dependency check 8. Other minor fixes Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen <hesheng.chen@intel.com> Reviewed-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15896 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# This file is used to define a class object to describe a module
|
||||
#
|
||||
# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2011 - 2014, 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
|
||||
@ -21,6 +21,7 @@ ModuleObject
|
||||
from Object.POM.CommonObject import CommonPropertiesObject
|
||||
from Object.POM.CommonObject import IdentificationObject
|
||||
from Object.POM.CommonObject import CommonHeaderObject
|
||||
from Object.POM.CommonObject import BinaryHeaderObject
|
||||
from Object.POM.CommonObject import HelpTextListObject
|
||||
from Object.POM.CommonObject import GuidVersionObject
|
||||
|
||||
@ -94,7 +95,7 @@ class SpecObject(object):
|
||||
#
|
||||
# This class defined header items used in Module file
|
||||
#
|
||||
class ModuleHeaderObject(IdentificationObject, CommonHeaderObject):
|
||||
class ModuleHeaderObject(IdentificationObject, CommonHeaderObject, BinaryHeaderObject):
|
||||
def __init__(self):
|
||||
self.IsLibrary = False
|
||||
self.IsLibraryModList = []
|
||||
@ -103,6 +104,7 @@ class ModuleHeaderObject(IdentificationObject, CommonHeaderObject):
|
||||
self.PcdIsDriver = ''
|
||||
self.PiSpecificationVersion = ''
|
||||
self.UefiSpecificationVersion = ''
|
||||
self.UNIFlag = False
|
||||
#
|
||||
# SpecObject
|
||||
#
|
||||
@ -126,6 +128,7 @@ class ModuleHeaderObject(IdentificationObject, CommonHeaderObject):
|
||||
self.SupArchList = []
|
||||
IdentificationObject.__init__(self)
|
||||
CommonHeaderObject.__init__(self)
|
||||
BinaryHeaderObject.__init__(self)
|
||||
|
||||
def SetIsLibrary(self, IsLibrary):
|
||||
self.IsLibrary = IsLibrary
|
||||
@ -277,6 +280,7 @@ class AsBuildLibraryClassObject(object):
|
||||
def __init__(self):
|
||||
self.LibGuid = ''
|
||||
self.LibVersion = ''
|
||||
self.SupArchList = []
|
||||
|
||||
def SetLibGuid(self, LibGuid):
|
||||
self.LibGuid = LibGuid
|
||||
@ -288,6 +292,11 @@ class AsBuildLibraryClassObject(object):
|
||||
def GetLibVersion(self):
|
||||
return self.LibVersion
|
||||
|
||||
def SetSupArchList(self, SupArchList):
|
||||
self.SupArchList = SupArchList
|
||||
def GetSupArchList(self):
|
||||
return self.SupArchList
|
||||
|
||||
##
|
||||
# AsBuiltObject
|
||||
#
|
||||
@ -308,7 +317,7 @@ class AsBuiltObject(object):
|
||||
#
|
||||
# List of BinaryBuildFlag object
|
||||
#
|
||||
self.BinaryBuildFlagList = ''
|
||||
self.BinaryBuildFlagList = []
|
||||
|
||||
def SetPatchPcdList(self, PatchPcdList):
|
||||
self.PatchPcdList = PatchPcdList
|
||||
|
Reference in New Issue
Block a user