Skip to contentSkip to conversation

kexec-tools: update COMPATIBLE_HOST because of makedumpfile

PATCH New [email protected] 1 participant 1 message Nov 1, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 kexec-tools: update COMPATIBLE_HOST because of makedumpfile

From: Kai Kang <[email protected]>

makedumpfile is not compatible with mipsarcho32 and riscv32, so set for kexec-tools accordingly.

And update packagegroup-core-tools-testapps too.

---
 .../packagegroups/packagegroup-core-tools-testapps.bb          | 1 +
 meta/recipes-kernel/kexec/kexec-tools_2.0.29.bb                | 3 +++
 2 files changed, 4 insertions(+)
meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb +1 -0
index 34af40a43f..180660adab 100644
@@ -13,6 +13,7 @@ inherit packagegroup
 KEXECTOOLS ?= "kexec"
 KEXECTOOLS:e5500-64b ?= ""
 KEXECTOOLS:microblaze ?= ""
+KEXECTOOLS:mipsarcho32 ?= ""
 KEXECTOOLS:nios2 ?= ""
 KEXECTOOLS:riscv64 ?= ""
 KEXECTOOLS:riscv32 ?= ""
meta/recipes-kernel/kexec/kexec-tools_2.0.29.bb +3 -0
index be24d064bb..9f5eb6e8c1 100644
@@ -82,5 +82,8 @@ SYSTEMD_SERVICE:kdump = "kdump.service"
 SECURITY_PIE_CFLAGS:remove = "-fPIE -pie"
 
 COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*|powerpc.*|mips.*)-(linux|freebsd.*)'
+# makedumpfile would not compile on mips/rv32
+COMPATIBLE_HOST:mipsarcho32 = "null"
+COMPATIBLE_HOST:riscv32 = "null"
 
 INSANE_SKIP:${PN} = "arch"
Signature · 1 line
2.34.1