diff mbox series

[13/25] linux-yocto-fitimage: Set UBOOT_ARCH

Message ID 20260802102854.3952760-14-richard.purdie@linuxfoundation.org
State New
Headers show
Series Class file improvements | expand

Commit Message

Richard Purdie Aug. 2, 2026, 10:28 a.m. UTC
The tests that use this recipe need access to the UBOOT_ARCH variable
from the recipe for testing purposes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-kernel/linux/linux-yocto-fitimage.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-kernel/linux/linux-yocto-fitimage.bb b/meta/recipes-kernel/linux/linux-yocto-fitimage.bb
index 75dbcb2af5c..1f95b9064e4 100644
--- a/meta/recipes-kernel/linux/linux-yocto-fitimage.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-fitimage.bb
@@ -8,6 +8,8 @@  LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-with-L
 
 inherit linux-kernel-base kernel-fit-image
 
+UBOOT_ARCH = "${@oe.kernel.map_uboot_arch(d)}"
+
 # Set the version of this recipe to the version of the included kernel
 # (without taking the long way around via PV)
 PKGV = "${@oe.kernel.get_version_file("${STAGING_KERNEL_BUILDDIR}")}"