diff options
Diffstat (limited to 'recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb')
| -rw-r--r-- | recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb | 5 |
1 files changed, 4 insertions, 1 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 c938c3b..3457300 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 | |||
| @@ -5,9 +5,12 @@ COMPATIBLE_MACHINE = "^rpi$" | |||
| 5 | 5 | ||
| 6 | DEPENDS = "u-boot-mkimage-native" | 6 | DEPENDS = "u-boot-mkimage-native" |
| 7 | 7 | ||
| 8 | SRC_URI = "file://boot.cmd" | 8 | SRC_URI = "file://boot.cmd.in" |
| 9 | 9 | ||
| 10 | do_compile() { | 10 | do_compile() { |
| 11 | sed -e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \ | ||
| 12 | -e 's/@@KERNEL_BOOTCMD@@/${KERNEL_BOOTCMD}/' \ | ||
| 13 | "${WORKDIR}/boot.cmd.in" > "${WORKDIR}/boot.cmd" | ||
| 11 | mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr | 14 | mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr |
| 12 | } | 15 | } |
| 13 | 16 | ||
