Currently the common sources mean x86 only in this library. To add support for other architectures like RISC-V, we need to build these files only for x86.
Signed-off-by: Sunil V L <suni...@ventanamicro.com> --- .../CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf b/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf index e7a81bebdb..bf33d54bae 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf @@ -32,7 +32,7 @@ X64/ArchExceptionHandler.c X64/ArchInterruptDefs.h -[Sources.common] +[Sources.IA32, Sources.X64] CpuExceptionCommon.h CpuExceptionCommon.c PeiDxeSmmCpuException.c @@ -56,8 +56,10 @@ SerialPortLib PrintLib SynchronizationLib - LocalApicLib PeCoffGetEntryPointLib MemoryAllocationLib DebugLib + +[LibraryClasses.IA32, LibraryClasses.X64] + LocalApicLib VmgExitLib -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#93270): https://edk2.groups.io/g/devel/message/93270 Mute This Topic: https://groups.io/mt/93506290/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-