summaryrefslogtreecommitdiff
path: root/UefiCpuPkg/SecCore
diff options
context:
space:
mode:
authorYu Pu <yu.pu@intel.com>2022-03-28 23:29:18 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-05-06 07:48:15 +0000
commit86d41c077eaa4b78f71b012671fdd8a7549fc7a2 (patch)
tree0f659d2640617508ede2276c84d8420b1c38ff28 /UefiCpuPkg/SecCore
parent1783b099d3bab30c24ff818eed42f5acd154c6ca (diff)
downloadedk2-86d41c077eaa4b78f71b012671fdd8a7549fc7a2.zip
edk2-86d41c077eaa4b78f71b012671fdd8a7549fc7a2.tar.gz
edk2-86d41c077eaa4b78f71b012671fdd8a7549fc7a2.tar.bz2
UefiCpuPkg: Add CpuLib to module INFs that depend on UefiCpuLib.
There are two libraries: MdePkg/CpuLib and UefiCpuPkg/UefiCpuLib and UefiCpuPkg/UefiCpuLib will be merged to MdePkg/CpuLib. To avoid build failure, add CpuLib dependency to all modules that depend on UefiCpuLib. Cc: Eric Dong <eric.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Signed-off-by: Yu Pu <yu.pu@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'UefiCpuPkg/SecCore')
-rw-r--r--UefiCpuPkg/SecCore/SecCore.inf1
-rw-r--r--UefiCpuPkg/SecCore/SecCoreNative.inf1
-rw-r--r--UefiCpuPkg/SecCore/SecMain.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/UefiCpuPkg/SecCore/SecCore.inf b/UefiCpuPkg/SecCore/SecCore.inf
index ded83be..f021997 100644
--- a/UefiCpuPkg/SecCore/SecCore.inf
+++ b/UefiCpuPkg/SecCore/SecCore.inf
@@ -47,6 +47,7 @@
PlatformSecLib
PcdLib
DebugAgentLib
+ CpuLib
UefiCpuLib
PeCoffGetEntryPointLib
PeCoffExtraActionLib
diff --git a/UefiCpuPkg/SecCore/SecCoreNative.inf b/UefiCpuPkg/SecCore/SecCoreNative.inf
index b528c59..e0a1b44 100644
--- a/UefiCpuPkg/SecCore/SecCoreNative.inf
+++ b/UefiCpuPkg/SecCore/SecCoreNative.inf
@@ -44,6 +44,7 @@
PlatformSecLib
PcdLib
DebugAgentLib
+ CpuLib
UefiCpuLib
PeCoffGetEntryPointLib
PeCoffExtraActionLib
diff --git a/UefiCpuPkg/SecCore/SecMain.h b/UefiCpuPkg/SecCore/SecMain.h
index 029bee3..189fcf9 100644
--- a/UefiCpuPkg/SecCore/SecMain.h
+++ b/UefiCpuPkg/SecCore/SecMain.h
@@ -23,6 +23,7 @@
#include <Library/PcdLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/PlatformSecLib.h>
+#include <Library/CpuLib.h>
#include <Library/UefiCpuLib.h>
#include <Library/PeCoffGetEntryPointLib.h>
#include <Library/PeCoffExtraActionLib.h>