summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg
diff options
context:
space:
mode:
authorOliver Smith-Denny <osde@linux.microsoft.com>2024-07-29 14:52:19 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-09-13 03:58:46 +0000
commitdfc397133bc88de5589c93645eda320eb4aefefb (patch)
tree83b3b557786bf8bd6f064a44e45fba8724761a42 /UefiCpuPkg
parent7b4b1d2bd3f1c3fb7b8a2f72bac08a4eeb9c3a6e (diff)
downloadedk2-dfc397133bc88de5589c93645eda320eb4aefefb.tar.gz
edk2-dfc397133bc88de5589c93645eda320eb4aefefb.tar.bz2
edk2-dfc397133bc88de5589c93645eda320eb4aefefb.zip
UefiCpuPkg: Add StackCheckLib
SecCore and SecCoreNative require StackCheckLib and so the NULL instance is linked against them here. Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
Diffstat (limited to 'UefiCpuPkg')
-rw-r--r--UefiCpuPkg/UefiCpuPkg.dsc10
1 files changed, 8 insertions, 2 deletions
diff --git a/UefiCpuPkg/UefiCpuPkg.dsc b/UefiCpuPkg/UefiCpuPkg.dsc
index 6459ba8f1a..f173bba87e 100644
--- a/UefiCpuPkg/UefiCpuPkg.dsc
+++ b/UefiCpuPkg/UefiCpuPkg.dsc
@@ -173,8 +173,14 @@
UefiCpuPkg/Library/AmdSvsmLibNull/AmdSvsmLibNull.inf
UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
- UefiCpuPkg/SecCore/SecCore.inf
- UefiCpuPkg/SecCore/SecCoreNative.inf
+ UefiCpuPkg/SecCore/SecCore.inf {
+ <LibraryClasses>
+ NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
+ }
+ UefiCpuPkg/SecCore/SecCoreNative.inf {
+ <LibraryClasses>
+ NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf
+ }
UefiCpuPkg/SecMigrationPei/SecMigrationPei.inf
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {