2012-09-24 22:42:58 +02:00
|
|
|
#!/bin/sh
|
|
|
|
# post-build fixups
|
2013-09-25 21:07:50 +02:00
|
|
|
# for further details, see
|
|
|
|
#
|
|
|
|
# http://boundarydevices.com/u-boot-on-i-mx6/
|
|
|
|
#
|
2012-09-24 22:42:58 +02:00
|
|
|
|
|
|
|
BOARD_DIR="$(dirname $0)"
|
|
|
|
|
|
|
|
# bd u-boot looks for bootscript here
|
2013-09-25 21:07:50 +02:00
|
|
|
cp $BOARD_DIR/6x_bootscript $TARGET_DIR
|
2012-09-24 22:42:58 +02:00
|
|
|
|
|
|
|
# u-boot / update script for bd upgradeu command
|
2013-09-26 21:15:59 +02:00
|
|
|
if [ -e $BINARIES_DIR/u-boot.imx ];
|
2012-09-24 22:42:58 +02:00
|
|
|
then
|
2013-09-26 21:15:59 +02:00
|
|
|
cp $BINARIES_DIR/u-boot.imx $TARGET_DIR
|
2013-09-25 21:07:50 +02:00
|
|
|
cp $BOARD_DIR/6x_upgrade $TARGET_DIR
|
2012-09-24 22:42:58 +02:00
|
|
|
fi
|