aboutsummaryrefslogtreecommitdiff
path: root/board/orangepi/post-build.sh
blob: a544a19560f2c6f5fcb4867b7dfdf2dd019bee5e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# post-build.sh for OrangePi taken from CubieBoard's post-build.sh
# 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
$MKIMAGE -C none -A arm -T script -d $BOOT_CMD $BOOT_CMD_H