diff mbox series

[2/2] image-fitimage.conf: introduce CUSTOM_ITS_FILE variable

Message ID 20250919073335.2069114-3-kavinaya@qti.qualcomm.com
State New
Headers show
Series [1/2] kernel-fitimage: add support for custom ITS file override | expand

Commit Message

Kavinaya S Sept. 19, 2025, 7:33 a.m. UTC
Add an optional variable CUSTOM_ITS_FILE to allow specifying a custom
ITS file for FIT image generation. If unset, the ITS file will be
generated dynamically.

Signed-off-by: Kavinaya S <kavinaya@qti.qualcomm.com>
---
 meta/conf/image-fitimage.conf | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Alexander Kanavin Sept. 22, 2025, 9:44 a.m. UTC | #1
I don't understand. Where is the variable used?

Alex

On Fri, 19 Sept 2025 at 20:58, Kavinaya S via lists.openembedded.org
<kavinaya=qti.qualcomm.com@lists.openembedded.org> wrote:
>
> Add an optional variable CUSTOM_ITS_FILE to allow specifying a custom
> ITS file for FIT image generation. If unset, the ITS file will be
> generated dynamically.
>
> Signed-off-by: Kavinaya S <kavinaya@qti.qualcomm.com>
> ---
>  meta/conf/image-fitimage.conf | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/meta/conf/image-fitimage.conf b/meta/conf/image-fitimage.conf
> index 090ee148f4..619e70a670 100644
> --- a/meta/conf/image-fitimage.conf
> +++ b/meta/conf/image-fitimage.conf
> @@ -44,6 +44,12 @@ FIT_SUPPORTED_INITRAMFS_FSTYPES ?= "cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.zst
>  # DTBs are provided separately in a FIT image.
>  FIT_LINUX_BIN ?= "linux.bin"
>
> +# Optional variable to specify a custom ITS file for kernel FIT image generation.
> +# If left unset, the build system will generate the ITS file dynamically.
> +# If set, the specified ITS file must be placed in ${DEPLOY_DIR_IMAGE} before the
> +# do_compile task runs.
> +CUSTOM_ITS_FILE ?= ""
> +
>  # Allow user to select the default DTB for FIT image when multiple dtb's exists.
>  FIT_CONF_DEFAULT_DTB ?= ""
>
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#223767): https://lists.openembedded.org/g/openembedded-core/message/223767
> Mute This Topic: https://lists.openembedded.org/mt/115333709/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/conf/image-fitimage.conf b/meta/conf/image-fitimage.conf
index 090ee148f4..619e70a670 100644
--- a/meta/conf/image-fitimage.conf
+++ b/meta/conf/image-fitimage.conf
@@ -44,6 +44,12 @@  FIT_SUPPORTED_INITRAMFS_FSTYPES ?= "cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.zst
 # DTBs are provided separately in a FIT image.
 FIT_LINUX_BIN ?= "linux.bin"
 
+# Optional variable to specify a custom ITS file for kernel FIT image generation.
+# If left unset, the build system will generate the ITS file dynamically.
+# If set, the specified ITS file must be placed in ${DEPLOY_DIR_IMAGE} before the
+# do_compile task runs.
+CUSTOM_ITS_FILE ?= ""
+
 # Allow user to select the default DTB for FIT image when multiple dtb's exists.
 FIT_CONF_DEFAULT_DTB ?= ""