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
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
# This library instance uses the PCD_PROTOCOL to handle dynamic PCD request and use
|
||||
# EFI_PCD_PROTOCOL to handle dynamicEx type PCD.
|
||||
#
|
||||
# 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
|
||||
@@ -54,7 +54,7 @@
|
||||
[Protocols]
|
||||
gPcdProtocolGuid ## CONSUMES
|
||||
gEfiPcdProtocolGuid ## CONSUMES
|
||||
|
||||
[Depex]
|
||||
|
||||
[Depex.common.DXE_DRIVER, Depex.common.DXE_RUNTIME_DRIVER, Depex.common.DXE_SAL_DRIVER, Depex.common.DXE_SMM_DRIVER]
|
||||
gEfiPcdProtocolGuid
|
||||
|
||||
|
Reference in New Issue
Block a user