From b282125c039e2a1ae5cf4ff2404c563955c6fb3c Mon Sep 17 00:00:00 2001 From: "levi.yun" Date: Wed, 11 Sep 2024 11:24:15 +0100 Subject: [PATCH] ARM/VExpressPkg: fix build failure on StandaloneMm commit 8bc44608b8ea ("MdeModulePkg: Add ImagePropertiesRecordLib") makes build failure on StandaloneMm. commit f8d9a0a17e1a ("Update to New StackCheckLib") replace BaseStackCheckLib to StackCheckLibNull. To fix build failure, 1. add ImpagePropertiesRecordLib and related libraries, 2. replace StackCheckLib to StackCheckLibNull. Signed-off-by: Levi Yun --- Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc b/Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc index 0a90a9ff64..31f7819751 100644 --- a/Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc +++ b/Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc @@ -74,6 +74,9 @@ PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf + ImagePropertiesRecordLib|MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.inf + PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf + [LibraryClasses.AARCH64, LibraryClasses.ARM] ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf StandaloneMmMmuLib|ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf @@ -81,6 +84,8 @@ CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf PeCoffExtraActionLib|StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf + NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf + [LibraryClasses.common.MM_CORE_STANDALONE] HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf