diff mbox series

[meta-ti,scarthgap,v3,2/4] k3: fix weak IMAGE_BOOT_FILES assignment

Message ID 20260807073837.1394655-3-m-shah@ti.com
State New
Headers show
Series Backport ti-core-initramfs to scarthgap for j722s NFS boot | expand

Commit Message

Moteen Shah Aug. 7, 2026, 7:38 a.m. UTC
From: Ryan Eatmon <reatmon@ti.com>

ti-core-initramfs.inc appends the initramfs image file to
IMAGE_BOOT_FILES. A weak default (?=) elsewhere in the same variable's
assignment chain can silently drop that append depending on include
order, so switch k3.inc's own default to a normal append (+=) to
guarantee the required boot files are never clobbered.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Moteen Shah <m-shah@ti.com>
---
v2: Simplified subject line; added my own Signed-off-by alongside
    the original author's instead of replacing it

 meta-ti-bsp/conf/machine/include/k3.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.34.1
diff mbox series

Patch

diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc
index d17ae71b..21738316 100644
--- a/meta-ti-bsp/conf/machine/include/k3.inc
+++ b/meta-ti-bsp/conf/machine/include/k3.inc
@@ -44,7 +44,7 @@  MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-pka-fw"

 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"

-IMAGE_BOOT_FILES ?= "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin tiboot3-*-evm.bin"
+IMAGE_BOOT_FILES += "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin tiboot3-*-evm.bin"
 IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}"

 EFI_PROVIDER ?= "grub-efi"