The Raspberry Pi platform with Secure Boot enabled currently fails to build with error: Module type [DXE_RUNTIME_DRIVER] is not supported by library instance [/home/appveyor/projects/rpi4/edk2/MdePkg/Library/DxeRngLib/DxeRngLib.inf] Add the missing class to fix this issue. Signed-off-by: Pete Batard <pete@akeo.ie> Reviewed-by: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com> Reviewed-by: Andrei Warkentin <awarkentin@vmware.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
39 lines
877 B
INI
39 lines
877 B
INI
# @file
|
|
# Provides implementation of the library class RngLib that uses the RngProtocol
|
|
#
|
|
# @copyright
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 1.27
|
|
BASE_NAME = DxeRngLib
|
|
MODULE_UNI_FILE = DxeRngLib.uni
|
|
FILE_GUID = FF9F84C5-A33E-44E3-9BB5-0D654B2D4149
|
|
MODULE_TYPE = DXE_DRIVER
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = RngLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
|
|
[Sources]
|
|
DxeRngLib.c
|
|
|
|
[LibraryClasses]
|
|
DebugLib
|
|
UefiBootServicesTableLib
|
|
|
|
[Protocols]
|
|
gEfiRngProtocolGuid ## CONSUMES
|
|
|
|
[Depex]
|
|
gEfiRngProtocolGuid
|
|
|
|
[Guids]
|
|
gEfiRngAlgorithmSp80090Ctr256Guid
|
|
gEfiRngAlgorithmSp80090Hash256Guid
|
|
gEfiRngAlgorithmSp80090Hmac256Guid
|