kumquat-buildroot/board/solidrun/mx6cubox/post-build.sh
Thomas Petazzoni 9ddbd11620 board/solidrun/mx6cubox: create boot.scr in TARGET_DIR/boot
There is no reason to create boot.scr in board/solidrun/mx6cubox and
later install it in TARGET_DIR/boot, leaving a stale file behind.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-13 21:46:23 +02:00

9 lines
204 B
Bash
Executable File

#!/bin/sh
BOARD_DIR="$(dirname $0)"
install -d -m 755 $TARGET_DIR/boot
$HOST_DIR/bin/mkimage -A arm -O linux -T script -C none \
-n "boot script" -d $BOARD_DIR/boot.scr.txt $TARGET_DIR/boot/boot.scr