mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-11 15:11:26 +00:00
Not all arches e.g. rv32 support kexec atm, reflect that here Signed-off-by: Khem Raj <raj.khem@gmail.com>
35 lines
1.0 KiB
BlitzBasic
35 lines
1.0 KiB
BlitzBasic
SUMMARY = "Initramfs image for kexecboot kernel"
|
|
DESCRIPTION = "This image provides kexecboot (linux as bootloader) and helpers."
|
|
|
|
# Some BSPs use IMAGE_FSTYPES:<machine override> which would override
|
|
# an assignment to IMAGE_FSTYPES so we need anon python
|
|
python () {
|
|
d.setVar("IMAGE_FSTYPES", d.getVar("INITRAMFS_FSTYPES"))
|
|
}
|
|
|
|
inherit image
|
|
|
|
# avoid circular dependencies
|
|
EXTRA_IMAGEDEPENDS = ""
|
|
KERNELDEPMODDEPEND = ""
|
|
|
|
# We really need just kexecboot, kexec and ubiattach
|
|
IMAGE_INSTALL = "kexecboot kexec mtd-utils-ubifs"
|
|
|
|
# Do not pollute the initrd image with rootfs features
|
|
IMAGE_FEATURES = ""
|
|
|
|
IMAGE_LINGUAS = ""
|
|
|
|
FEED_DEPLOYDIR_BASE_URI = ""
|
|
LDCONFIGDEPEND = ""
|
|
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"
|