3496b8b5c8
[Peter: adjust for _FEX_FILE] Signed-off-by: Carlo Caione <carlo.caione@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 lines
332 B
Bash
Executable File
15 lines
332 B
Bash
Executable File
#!/bin/sh
|
|
# post-build.sh for CubieBoard
|
|
# 2013, Carlo Caione <carlo.caione@gmail.com>
|
|
|
|
BOARD_DIR="$(dirname $0)"
|
|
MKIMAGE=$HOST_DIR/usr/bin/mkimage
|
|
BOOT_CMD=$BOARD_DIR/boot.cmd
|
|
BOOT_CMD_H=$BINARIES_DIR/boot.scr
|
|
|
|
# U-Boot script
|
|
if [ -e $MKIMAGE -a -e $BOOT_CMD ];
|
|
then
|
|
$MKIMAGE -C none -A arm -T script -d $BOOT_CMD $BOOT_CMD_H
|
|
fi
|