2b43aa3227b7e431c570963afc7758d4cc104bf2
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / board / boundarydevices / nitrogen6x / post-build.sh
1 #!/bin/sh
2 # post-build fixups
3 # for further details, see
4 #
5 #  http://boundarydevices.com/u-boot-on-i-mx6/
6 #
7
8 BOARD_DIR="$(dirname $0)"
9
10 # bd u-boot looks for bootscript here
11 install -D -m 0644 $BOARD_DIR/6x_bootscript $TARGET_DIR/6x_bootscript
12
13 # u-boot / update script for bd upgradeu command
14 if [ -e $BINARIES_DIR/u-boot.imx ];
15 then
16     install -D -m 0644 $BINARIES_DIR/u-boot.imx $TARGET_DIR/u-boot.imx
17     install -D -m 0644 $BOARD_DIR/6x_upgrade $TARGET_DIR/6x_upgrade
18 fi