public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 1/1] MdePkg/BaseRngLibDxe: Add DXE_RUNTIME_DRIVER class to RngLib
@ 2020-11-04 19:03 Pete Batard
  2020-11-11 17:05 ` [edk2-devel] " Andrei Warkentin
  2020-11-11 17:37 ` Samer El-Haj-Mahmoud
  0 siblings, 2 replies; 7+ messages in thread
From: Pete Batard @ 2020-11-04 19:03 UTC (permalink / raw)
  To: devel; +Cc: michael.d.kinney, gaoliming, zhiguang.liu, samer.el-haj-mahmoud

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>
---
 MdePkg/Library/DxeRngLib/DxeRngLib.inf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MdePkg/Library/DxeRngLib/DxeRngLib.inf b/MdePkg/Library/DxeRngLib/DxeRngLib.inf
index 68554ad21146..9c11959f8aeb 100644
--- a/MdePkg/Library/DxeRngLib/DxeRngLib.inf
+++ b/MdePkg/Library/DxeRngLib/DxeRngLib.inf
@@ -14,7 +14,7 @@ [Defines]
   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
-- 
2.21.0.windows.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-11-13  5:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-04 19:03 [PATCH 1/1] MdePkg/BaseRngLibDxe: Add DXE_RUNTIME_DRIVER class to RngLib Pete Batard
2020-11-11 17:05 ` [edk2-devel] " Andrei Warkentin
2020-11-11 17:37 ` Samer El-Haj-Mahmoud
2020-11-12  1:52   ` 回复: [edk2-devel] " gaoliming
2020-11-12 12:09     ` Pete Batard
2020-11-12 13:41       ` 回复: " gaoliming
     [not found]       ` <1646C675163A08FD.26994@groups.io>
2020-11-13  5:48         ` gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox