Skip to contentSkip to conversation

kexec-tools: update COMPATIBLE_HOST because of makedumpfile

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

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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.

---
 meta/recipes-kernel/kexec/kexec-tools_2.0.29.bb | 3 +++
 1 file changed, 3 insertions(+)
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