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
|
2014-11-21 17:19:06 +01:00
|
|
|
install -D -m 0644 $BOARD_DIR/6x_bootscript $TARGET_DIR/6x_bootscript
|
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
|
2014-11-21 17:19:06 +01:00
|
|
|
install -D -m 0644 $BINARIES_DIR/u-boot.imx $TARGET_DIR/u-boot.imx
|
|
|
|
install -D -m 0644 $BOARD_DIR/6x_upgrade $TARGET_DIR/6x_upgrade
|
2012-09-24 22:42:58 +02:00
|
|
|
fi
|