]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
ArmPkg: Avoid building ArmCrashDumpDxe on ARM
authorArd Biesheuvel <ardb@kernel.org>
Mon, 16 Sep 2024 06:20:07 +0000 (08:20 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 16 Sep 2024 07:38:00 +0000 (07:38 +0000)
For reasons that are unclear, the Linaro EDK2 CI is throwing errors when
building ArmCrashDumpDxe with CLANGDWARF, as the resulting build
contains non-adjacet MOVW/MOVT pairs, which cannot be relocated
correctly in PE/COFF.

Let's build it only for AARCH64 - its utility on ARM is doubtful anyway.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
ArmPkg/ArmPkg.dsc

index 041751e368300c1243d4c2bb4bb8e4b26a6bc4ec..5bc830cf150e6bcdc23450d547983e0785eebeb9 100644 (file)
   ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
   ArmPkg/Library/LinuxBootBootManagerLib/LinuxBootBootManagerLib.inf\r
 \r
-  ArmPkg/Drivers/ArmCrashDumpDxe/ArmCrashDumpDxe.inf\r
   ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf\r
 \r
   ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClassDxe.inf\r
   ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.inf\r
 \r
 [Components.AARCH64]\r
+  ArmPkg/Drivers/ArmCrashDumpDxe/ArmCrashDumpDxe.inf\r
   ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf\r
   ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf\r
   ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf\r