From 4eea8f0136b3b245bc429a5ff71a70c0840ba927 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Thu, 5 Nov 2020 03:03:46 +0800 Subject: 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 Reviewed-by: Samer El-Haj-Mahmoud Reviewed-by: Andrei Warkentin Reviewed-by: Liming Gao --- MdePkg/Library/DxeRngLib/DxeRngLib.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdePkg') 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 -- cgit v1.2.3