diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2016-12-15 17:24:45 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-12-15 17:24:45 +0100 |
commit | c1a9fb9ddbc4e6520b9eeee43d45817f9e4a62aa (patch) | |
tree | a5cda1648e588c1fef2b97a0f91b473342161275 /board/orangepi/post-build.sh | |
parent | a1f33e0591354bbe631267ce619678f84b06cab8 (diff) |
board/orangepi: drop redundant files
The orangepi board variants use identical post-build and post-image scripts,
so move them up to board/orangepi and add symlinks in the variant
subdirectories, similary to how we handle it for the raspberry pi variants.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board/orangepi/post-build.sh')
-rwxr-xr-x | board/orangepi/post-build.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/board/orangepi/post-build.sh b/board/orangepi/post-build.sh new file mode 100755 index 000000000..a544a1956 --- /dev/null +++ b/board/orangepi/post-build.sh @@ -0,0 +1,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 |