From 26a888d669b2d73c251c9107bd7e9871751a1ab6 Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Mon, 7 Sep 2020 22:07:13 +0200 Subject: rpi-u-boot-scr: drop hard-coded 'arm' Let's inherit kernel-arch and use ${UBOOT_ARCH} to replace the hard-coded 'arm'. Signed-off-by: Ming Liu --- recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb b/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb index 4cb8978..9108f71 100644 --- a/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb +++ b/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb @@ -13,10 +13,10 @@ do_compile() { sed -e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \ -e 's/@@KERNEL_BOOTCMD@@/${KERNEL_BOOTCMD}/' \ "${WORKDIR}/boot.cmd.in" > "${WORKDIR}/boot.cmd" - mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr + mkimage -A ${UBOOT_ARCH} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr } -inherit deploy nopackages +inherit kernel-arch deploy nopackages do_deploy() { install -d ${DEPLOYDIR} -- cgit v1.2.3-54-g00ecf