diff options
author | Pete Batard <pete@akeo.ie> | 2020-11-05 03:03:46 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-11-13 03:39:41 +0000 |
commit | 4eea8f0136b3b245bc429a5ff71a70c0840ba927 (patch) | |
tree | fc09d98906a322e31c9fa78ce85c5f6ee9900a56 | |
parent | 544cb0132dc1778b9e791202995533523fa6cccd (diff) | |
download | edk2-4eea8f0136b3b245bc429a5ff71a70c0840ba927.tar.gz edk2-4eea8f0136b3b245bc429a5ff71a70c0840ba927.tar.bz2 edk2-4eea8f0136b3b245bc429a5ff71a70c0840ba927.zip |
MdePkg/BaseRngLibDxe: Add DXE_RUNTIME_DRIVER class to RngLib
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>
-rw-r--r-- | MdePkg/Library/DxeRngLib/DxeRngLib.inf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/DxeRngLib/DxeRngLib.inf b/MdePkg/Library/DxeRngLib/DxeRngLib.inf index 68554ad211..9c11959f8a 100644 --- a/MdePkg/Library/DxeRngLib/DxeRngLib.inf +++ b/MdePkg/Library/DxeRngLib/DxeRngLib.inf @@ -14,7 +14,7 @@ FILE_GUID = FF9F84C5-A33E-44E3-9BB5-0D654B2D4149
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
- LIBRARY_CLASS = RngLib|DXE_DRIVER UEFI_APPLICATION UEFI_DRIVER
+ LIBRARY_CLASS = RngLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER
[Packages]
MdePkg/MdePkg.dec
|