2 # post-build.sh for CubieBoard
3 # 2013, Carlo Caione <carlo.caione@gmail.com>
5 BOARD_DIR="$(dirname $0)"
6 MKIMAGE=$HOST_DIR/usr/bin/mkimage
7 BOOT_CMD=$BOARD_DIR/boot.cmd
8 BOOT_CMD_H=$BINARIES_DIR/boot.scr
11 if [ -e $MKIMAGE -a -e $BOOT_CMD ];
13 $MKIMAGE -C none -A arm -T script -d $BOOT_CMD $BOOT_CMD_H