BaseTools/build: register MM module types with build tools.
This patch registers MM_STANDALONE and MM_CORE_STANDALONE module type with python build tools. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Supreeth Venkatesh <supreeth.venkatesh@arm.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
committed by
Yonghong Zhu
parent
b19df64081
commit
e574123c85
@ -123,6 +123,8 @@ gDriverTypeMap = {
|
||||
'UEFI_APPLICATION' : '0x9 (APPLICATION)',
|
||||
'SMM_CORE' : '0xD (SMM_CORE)',
|
||||
'SMM_DRIVER' : '0xA (SMM)', # Extension of module type to support PI 1.1 SMM drivers
|
||||
'MM_STANDALONE' : '0xE (MM_STANDALONE)',
|
||||
'MM_CORE_STANDALONE' : '0xF (MM_CORE_STANDALONE)'
|
||||
}
|
||||
|
||||
## The look up table of the supported opcode in the dependency expression binaries
|
||||
@ -374,7 +376,7 @@ class DepexReport(object):
|
||||
if not ModuleType:
|
||||
ModuleType = gComponentType2ModuleType.get(M.ComponentType, "")
|
||||
|
||||
if ModuleType in ["SEC", "PEI_CORE", "DXE_CORE", "SMM_CORE", "UEFI_APPLICATION"]:
|
||||
if ModuleType in ["SEC", "PEI_CORE", "DXE_CORE", "SMM_CORE", "MM_CORE_STANDALONE", "UEFI_APPLICATION"]:
|
||||
return
|
||||
|
||||
for Source in M.SourceFileList:
|
||||
|
Reference in New Issue
Block a user