Skip to content

Commit

Permalink
StandaloneMm/MmRpmb: fix build failure for some libraries
Browse files Browse the repository at this point in the history
commit 8bc44608b8ea ("MdeModulePkg: Add ImagePropertiesRecordLib")
makes build failure on StandaloneMm.

commit f8d9a0a ("Update to New StackCheckLib")
replace BaseStackCheckLib to StackCheckLibNull.

To fix build failure,
   1. add ImagePropertiesRecordLib and related libraries,
   2. replace StackCheckLib to StackCheckLibNull.

Signed-off-by: Levi.Yun <[email protected]>
  • Loading branch information
LeviYeoReum committed Oct 18, 2024
1 parent 62b6115 commit 969187a
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# Copyright (c) 2018, ARM Limited. All rights reserved.
# Copyright (c) 2018-2024, Arm Limited. All rights reserved.
# Copyright (c) 2020, Linaro Ltd. All rights reserved.
#

# SPDX-License-Identifier: BSD-2-Clause-Patent
#

Expand Down Expand Up @@ -44,7 +45,6 @@
HobPrintLib|MdeModulePkg/Library/HobPrintLib/HobPrintLib.inf
ImagePropertiesRecordLib|MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.inf
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
Expand All @@ -62,12 +62,16 @@

StandaloneMmMmuLib|ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf
CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLibNull/BaseCacheMaintenanceLibNull.inf
ImagePropertiesRecordLib|MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.inf
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
PeCoffExtraActionLib|StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf
RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf

SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf

NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf

[LibraryClasses.common.MM_STANDALONE]
HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
Expand Down

0 comments on commit 969187a

Please sign in to comment.