diff options
author | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-27 08:54:57 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-27 08:54:57 +0000 |
commit | 3397c6f5904b7d336670771ec9a7bf6176b64631 (patch) | |
tree | d82ce121e11486a6c2dfe4709f5c4b042adfb7ef /MdeModulePkg/Library | |
parent | 05c82e51e17a3465d4be5d206493baa6198926d9 (diff) | |
download | edk2-3397c6f5904b7d336670771ec9a7bf6176b64631.zip edk2-3397c6f5904b7d336670771ec9a7bf6176b64631.tar.gz edk2-3397c6f5904b7d336670771ec9a7bf6176b64631.tar.bz2 |
For libraries that have multiple module types support, just define a [Depex] section for specified module types that are permitted to have a [Depex] section.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12052 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library')
3 files changed, 6 insertions, 6 deletions
diff --git a/MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf b/MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf index 7e4b19f..b020a85 100644 --- a/MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf +++ b/MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf @@ -3,7 +3,7 @@ #
# This module provides DPC service by consuming EFI DPC Protocol.
#
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2007 - 2011, 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
@@ -43,5 +43,5 @@ [Protocols]
gEfiDpcProtocolGuid # PROTOCOL ALWAYS_CONSUMED
-[Depex]
- gEfiDpcProtocolGuid
\ No newline at end of file +[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
+ gEfiDpcProtocolGuid
diff --git a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf index 92c46e7..5195d01 100644 --- a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf +++ b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf @@ -2,7 +2,7 @@ # Library instance that implements Print Library class based on protocol
# gEfiPrint2ProtocolGuid.
#
-# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2009 - 2011, 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
@@ -47,5 +47,5 @@ [Protocols]
gEfiPrint2ProtocolGuid ## CONSUMES
-[Depex]
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
gEfiPrint2ProtocolGuid
diff --git a/MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf b/MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf index 5ba86e4..997187c 100644 --- a/MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf +++ b/MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf @@ -57,5 +57,5 @@ [Pcd]
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask
-[Depex]
+[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER]
gEfiSmmCommunicationProtocolGuid
|