OvmfPkg: 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: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
This commit is contained in:
Zhiguang Liu 2022-11-01 09:33:15 +08:00 committed by mergify[bot]
parent fd1820b7ea
commit bf0c14a562
5 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,7 @@
#include <Library/BaseMemoryLib.h>
#include <Library/PcdLib.h>
#include <Library/UefiCpuLib.h>
#include <Library/CpuLib.h>
#include <Library/DebugAgentLib.h>
#include <Library/IoLib.h>
#include <Library/PeCoffLib.h>

View File

@ -38,6 +38,7 @@
BaseMemoryLib
PcdLib
UefiCpuLib
CpuLib
DebugAgentLib
IoLib
PeCoffLib

View File

@ -46,6 +46,7 @@
BaseMemoryLib
PcdLib
UefiCpuLib
CpuLib
DebugAgentLib
IoLib
LocalApicLib

View File

@ -11,6 +11,7 @@
#include <Library/BaseMemoryLib.h>
#include <Library/PcdLib.h>
#include <Library/UefiCpuLib.h>
#include <Library/CpuLib.h>
#include <Library/SynchronizationLib.h>
#include <Uefi/UefiBaseType.h>
#include <IndustryStandard/IntelTdx.h>

View File

@ -37,6 +37,7 @@
BaseMemoryLib
PcdLib
UefiCpuLib
CpuLib
DebugAgentLib
IoLib
SynchronizationLib