diff options
author | Ming Liu <liu.ming50@gmail.com> | 2020-09-07 22:07:13 +0200 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-11-27 12:39:12 +0000 |
commit | 26a888d669b2d73c251c9107bd7e9871751a1ab6 (patch) | |
tree | c5cc4e3bb840cf6c47c575582488905f3dde75ae | |
parent | 25d1eb4146f90526c7511cd40d97b24ad0e02a25 (diff) | |
download | meta-raspberrypi-26a888d669b2d73c251c9107bd7e9871751a1ab6.tar.gz |
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 <liu.ming50@gmail.com>
-rw-r--r-- | recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb | 4 |
1 files 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() { | |||
13 | sed -e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \ | 13 | sed -e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \ |
14 | -e 's/@@KERNEL_BOOTCMD@@/${KERNEL_BOOTCMD}/' \ | 14 | -e 's/@@KERNEL_BOOTCMD@@/${KERNEL_BOOTCMD}/' \ |
15 | "${WORKDIR}/boot.cmd.in" > "${WORKDIR}/boot.cmd" | 15 | "${WORKDIR}/boot.cmd.in" > "${WORKDIR}/boot.cmd" |
16 | mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr | 16 | mkimage -A ${UBOOT_ARCH} -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr |
17 | } | 17 | } |
18 | 18 | ||
19 | inherit deploy nopackages | 19 | inherit kernel-arch deploy nopackages |
20 | 20 | ||
21 | do_deploy() { | 21 | do_deploy() { |
22 | install -d ${DEPLOYDIR} | 22 | install -d ${DEPLOYDIR} |