aboutsummaryrefslogtreecommitdiff
path: root/board/olimex/a20_olinuxino_lime/post-build.sh
blob: ac8d4df1849ef298ee79fe09da80ba594153af64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# args from BR2_ROOTFS_POST_SCRIPT_ARGS
# $2    path of boot.cmd
# $3    output directory for boot.scr

MKIMAGE=$HOST_DIR/usr/bin/mkimage

$MKIMAGE -A arm -O linux -T script -C none -d $2 $3/boot.scr

if [ -e $BINARIES_DIR/script.bin ]; then
	cp $BINARIES_DIR/script.bin $3/script.bin
fi