From 9107d9c09c7dab385c6034778cefadca3613be9c Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Fri, 1 Nov 2024 16:29:43 +0800 Subject: [PATCH] kexec-tools: update COMPATIBLE_HOST because of makedumpfile makedumpfile is not compatible with mipsarcho32 and riscv32, so set for kexec-tools accordingly. And update packagegroup-core-tools-testapps too. Signed-off-by: Kai Kang Signed-off-by: Richard Purdie --- .../packagegroups/packagegroup-core-tools-testapps.bb | 1 + meta/recipes-kernel/kexec/kexec-tools_2.0.29.bb | 3 +++ 2 files changed, 4 insertions(+) diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb index 34af40a43f9..180660adabe 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb @@ -13,6 +13,7 @@ inherit packagegroup KEXECTOOLS ?= "kexec" KEXECTOOLS:e5500-64b ?= "" KEXECTOOLS:microblaze ?= "" +KEXECTOOLS:mipsarcho32 ?= "" KEXECTOOLS:nios2 ?= "" KEXECTOOLS:riscv64 ?= "" KEXECTOOLS:riscv32 ?= "" diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.29.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.29.bb index be24d064bba..9f5eb6e8c10 100644 --- a/meta/recipes-kernel/kexec/kexec-tools_2.0.29.bb +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.29.bb @@ -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" -- 2.47.3