diff mbox series

[v3,2/2] image-fitimage: add FIT_LINUX_BIN variable

Message ID 20250905110152.552108-3-kavinaya@qti.qualcomm.com
State New
Headers show
Series kernel-fit-image: support UKI boot with independent DTB handling | expand

Commit Message

Kavinaya S Sept. 5, 2025, 11:01 a.m. UTC
Add FIT_LINUX_BIN variable to image-fitimage.conf to allow control over
kernel section inclusion.

Suggested-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Kavinaya S <kavinaya@qti.qualcomm.com>
---
 meta/conf/image-fitimage.conf | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/meta/conf/image-fitimage.conf b/meta/conf/image-fitimage.conf
index 9be7e45238..090ee148f4 100644
--- a/meta/conf/image-fitimage.conf
+++ b/meta/conf/image-fitimage.conf
@@ -37,6 +37,13 @@  FIT_CONF_PREFIX[doc] = "Prefix to use for FIT configuration node name"
 
 FIT_SUPPORTED_INITRAMFS_FSTYPES ?= "cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.zst cpio.gz ext2.gz cpio"
 
+# Allow user to support special use cases where the kernel binary is
+# not included in the FIT image itself.
+# This is particularly useful for UKI-based setups, where the kernel
+# and initramfs are bundled into a Unified Kernel Image (UKI), and
+# DTBs are provided separately in a FIT image.
+FIT_LINUX_BIN ?= "linux.bin"
+
 # Allow user to select the default DTB for FIT image when multiple dtb's exists.
 FIT_CONF_DEFAULT_DTB ?= ""