diff options
author | Jiewen Yao <jiewen.yao@intel.com> | 2019-07-01 06:19:13 +0000 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2019-07-12 21:06:57 +0800 |
commit | a79841a0244ab2afd1efc3b9d4cc91e27fa90d71 (patch) | |
tree | 3f550257719b8801ec901bb311f9c02b83c8731b /BaseTools/Source/Python/Workspace/InfBuildData.py | |
parent | 2d100d1d73a9f9a38f224e87c48276ba1e84d8ce (diff) | |
download | edk2-a79841a0244ab2afd1efc3b9d4cc91e27fa90d71.tar.gz edk2-a79841a0244ab2afd1efc3b9d4cc91e27fa90d71.tar.bz2 edk2-a79841a0244ab2afd1efc3b9d4cc91e27fa90d71.zip |
BaseTools: Add HOST_APPLICATION module type.
It can be used to indicate a module can be build to run
as OS application and run in OS environment.
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Xiaoyu Lu <xiaoyux.lu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/InfBuildData.py')
-rw-r--r-- | BaseTools/Source/Python/Workspace/InfBuildData.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Workspace/InfBuildData.py b/BaseTools/Source/Python/Workspace/InfBuildData.py index e66b7c9832..60970cd928 100644 --- a/BaseTools/Source/Python/Workspace/InfBuildData.py +++ b/BaseTools/Source/Python/Workspace/InfBuildData.py @@ -748,7 +748,7 @@ class InfBuildData(ModuleBuildClassObject): EdkLogger.error('build', RESOURCE_NOT_AVAILABLE, "No [Depex] section or no valid expression in [Depex] section for [%s] module" \
% self.ModuleType, File=self.MetaFile)
- if len(RecordList) != 0 and self.ModuleType == SUP_MODULE_USER_DEFINED:
+ if len(RecordList) != 0 and (self.ModuleType == SUP_MODULE_USER_DEFINED or self.ModuleType == SUP_MODULE_HOST_APPLICATION):
for Record in RecordList:
if Record[4] not in [SUP_MODULE_PEIM, SUP_MODULE_DXE_DRIVER, SUP_MODULE_DXE_SMM_DRIVER]:
EdkLogger.error('build', FORMAT_INVALID,
|