[edk2-devel] [edk2-platforms][PATCH 19/30] RiscVPlatformPkg/U540: Add SortLib

Abner Chang posted 30 patches 4 years, 3 months ago
[edk2-devel] [edk2-platforms][PATCH 19/30] RiscVPlatformPkg/U540: Add SortLib
Posted by Abner Chang 4 years, 3 months ago
Add SortLib to run ram disk. Need to override generic library.

Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Sunil V L <sunilvl@ventanamicro.com>

Signed-off-by: Daniel Schaefer <daniel.schaefer@hpe.com>
---
 .../U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc       | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
index 71dbca0e96..4d16adfc82 100644
--- a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
+++ b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc
@@ -532,6 +532,9 @@
   OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
     <PcdsFixedAtBuild>
       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
+    <LibraryClasses>
+      ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
+      SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
   }
 
   ShellPkg/Application/Shell/Shell.inf {
-- 
2.31.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#82330): https://edk2.groups.io/g/devel/message/82330
Mute This Topic: https://groups.io/mt/86435682/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-