]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/OvmfXen.dsc
OvmfPkg: Use toolchain appropriate CpuExceptionHandlerLib
[mirror_edk2.git] / OvmfPkg / OvmfXen.dsc
index 8b3615e0b07e8be7075a900644137eca9936131b..143dc6d5a766967bdc3d04e04e3ec81af9d8b0c5 100644 (file)
   PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
   PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
+!if $(TOOL_CHAIN_TAG) == "XCODE5"\r
+  CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf\r
+!else\r
   CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
+!endif\r
 \r
 [LibraryClasses.common.PEI_CORE]\r
   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r