Not all arches e.g. rv32 support kexec atm, reflect that here

Signed-off-by: Khem Raj <[email protected]>
---
 .../recipes-core/images/initramfs-kexecboot-image.bb        | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-initramfs/recipes-core/images/initramfs-kexecboot-image.bb 
b/meta-initramfs/recipes-core/images/initramfs-kexecboot-image.bb
index 7e6e03d8e7..681abd509c 100644
--- a/meta-initramfs/recipes-core/images/initramfs-kexecboot-image.bb
+++ b/meta-initramfs/recipes-core/images/initramfs-kexecboot-image.bb
@@ -27,4 +27,8 @@ IMAGE_ROOTFS_EXTRA_SPACE = "0"

 # disable runtime dependency on run-postinsts -> update-rc.d
 ROOTFS_BOOTSTRAP_INSTALL = ""
-
+# Match what kexec supports in core
+COMPATIBLE_HOST = 
'(x86_64.*|i.86.*|arm.*|aarch64.*|powerpc.*|mips.*|riscv64.*)-(linux|freebsd.*)'
+# makedumpfile would not compile on mips/rv32
+COMPATIBLE_HOST:mipsarcho32 = "null"
+COMPATIBLE_HOST:riscv32 = "null"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122996): 
https://lists.openembedded.org/g/openembedded-devel/message/122996
Mute This Topic: https://lists.openembedded.org/mt/116987443/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to