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>
This commit is contained in:
Yu Pu 2022-03-28 23:29:18 +08:00 committed by mergify[bot]
parent 1783b099d3
commit 86d41c077e
8 changed files with 8 additions and 0 deletions

View File

@ -21,6 +21,7 @@
#include <Library/IoLib.h>
#include <Library/TimerLib.h>
#include <Library/PcdLib.h>
#include <Library/CpuLib.h>
#include <Library/UefiCpuLib.h>
//

View File

@ -38,6 +38,7 @@
TimerLib
IoLib
PcdLib
CpuLib
UefiCpuLib
[Pcd]

View File

@ -22,6 +22,7 @@
#include <Library/IoLib.h>
#include <Library/TimerLib.h>
#include <Library/PcdLib.h>
#include <Library/CpuLib.h>
#include <Library/UefiCpuLib.h>
#include <IndustryStandard/Tdx.h>

View File

@ -38,6 +38,7 @@
TimerLib
IoLib
PcdLib
CpuLib
UefiCpuLib
[Pcd]

View File

@ -43,6 +43,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#include <Library/UefiLib.h>
#include <Library/HobLib.h>
#include <Library/LocalApicLib.h>
#include <Library/CpuLib.h>
#include <Library/UefiCpuLib.h>
#include <Library/CpuExceptionHandlerLib.h>
#include <Library/ReportStatusCodeLib.h>

View File

@ -47,6 +47,7 @@
PlatformSecLib
PcdLib
DebugAgentLib
CpuLib
UefiCpuLib
PeCoffGetEntryPointLib
PeCoffExtraActionLib

View File

@ -44,6 +44,7 @@
PlatformSecLib
PcdLib
DebugAgentLib
CpuLib
UefiCpuLib
PeCoffGetEntryPointLib
PeCoffExtraActionLib

View File

@ -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>