mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-08-31 13:19:28 +00:00
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>
This commit is contained in:
@@ -16,7 +16,7 @@ do_compile() {
|
||||
-e 's/@@KERNEL_BOOTCMD@@/${KERNEL_BOOTCMD}/' \
|
||||
-e 's/@@BOOT_MEDIA@@/${BOOT_MEDIA}/' \
|
||||
"${UNPACKDIR}/boot.cmd.in" > "${WORKDIR}/boot.cmd"
|
||||
mkimage -A ${UBOOT_ARCH} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
|
||||
mkimage -A ${@oe.kernel.map_uboot_arch(d)} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr
|
||||
}
|
||||
|
||||
inherit kernel-arch deploy nopackages
|
||||
|
||||
Reference in New Issue
Block a user