Skip to content

Commit a0ebcf5

Browse files
leon-anavikraj
authored andcommitted
rpi-u-boot-scr: oe.kernel.map_uboot_arch
Replace UBOOT_ARCH with oe.kernel.map_uboot_arch(d) because the variable has been dropped and all OE-Core usages are now independent of kernel-arch, following the change in oe-core with git commit 7e8523f3c16efb29657effd732a88e939eb0cf84. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
1 parent 9e41c54 commit a0ebcf5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ do_compile() {
1616
-e 's/@@KERNEL_BOOTCMD@@/${KERNEL_BOOTCMD}/' \
1717
-e 's/@@BOOT_MEDIA@@/${BOOT_MEDIA}/' \
1818
"${UNPACKDIR}/boot.cmd.in" > "${WORKDIR}/boot.cmd"
19-
mkimage -A ${UBOOT_ARCH} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
19+
mkimage -A ${@oe.kernel.map_uboot_arch(d)} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
2020
}
2121

2222
inherit kernel-arch deploy nopackages

0 commit comments

Comments
 (0)