Thanks!

Reviewed-By: Daniel Schaefer <[email protected]>

On 7/13/21 11:24 PM, Takuto Naito wrote:
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3489

Fix build error of U540 and U500 caused by BdsDxe.
The edk2 patch
  MdeModulePkg/BdsDxe: Update BdsEntry to use Variable Policy
requires VariablePolicyHelperLib, but U500.dsc and U540.dsc
didn't have it in the LibraryClasses section.

Cc: Abner Chang <[email protected]>
Cc: Gilbert Chen <[email protected]>
Cc: Daniel Schaefer <[email protected]>
Signed-off-by: Takuto Naito <[email protected]>
---
  Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc       | 1 +
  .../SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc  | 1 +
  2 files changed, 2 insertions(+)

diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc 
b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
index b91823ceeb..2031265806 100644
--- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
+++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc
@@ -99,6 +99,7 @@
    SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
    
UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
    FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
+  
VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
# RISC-V Platform Library
    TimeBaseLib|EmbeddedPkg//Library/TimeBaseLib/TimeBaseLib.inf
diff --git 
a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc 
b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
index 0eafe29880..0262b2a909 100644
--- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
+++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
@@ -99,6 +99,7 @@
    SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
    
UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
    FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
+  
VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
# RISC-V Platform Library
    TimeBaseLib|EmbeddedPkg//Library/TimeBaseLib/TimeBaseLib.inf



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#77761): https://edk2.groups.io/g/devel/message/77761
Mute This Topic: https://groups.io/mt/84180933/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to