mirror of https://github.com/acidanthera/audk.git
Add the AND of all architectural protocols for UEFI drivers. Build tool will optimize for size if the UEFI drivers only depends on these architecture protocol. Otherwise the final dependency will be AND APs AND extra dependency inherited from [depex] sections of library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6756 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a55caa5335
commit
8f446d021f
|
@ -46,3 +46,22 @@
|
|||
[Protocols]
|
||||
gEfiLoadedImageProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
|
||||
|
||||
#
|
||||
# For UEFI drivers, these architectural protocols defined in PI 1.0 spec need
|
||||
# to be appended and merged to the final dependency section.
|
||||
#
|
||||
[Depex.common.UEFI_DRIVER]
|
||||
gEfiBdsArchProtocolGuid AND
|
||||
gEfiCpuArchProtocolGuid AND
|
||||
gEfiMetronomeArchProtocolGuid AND
|
||||
gEfiMonotonicCounterArchProtocolGuid AND
|
||||
gEfiRealTimeClockArchProtocolGuid AND
|
||||
gEfiResetArchProtocolGuid AND
|
||||
gEfiRuntimeArchProtocolGuid AND
|
||||
gEfiSecurityArchProtocolGuid AND
|
||||
gEfiTimerArchProtocolGuid AND
|
||||
gEfiVariableWriteArchProtocolGuid AND
|
||||
gEfiVariableArchProtocolGuid AND
|
||||
gEfiWatchdogTimerArchProtocolGuid
|
||||
|
||||
|
|
Loading…
Reference in New Issue