X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fboard%2Fboundarydevices%2Fnitrogen6x%2Fpost-build.sh;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fboard%2Fboundarydevices%2Fnitrogen6x%2Fpost-build.sh;h=2b43aa3227b7e431c570963afc7758d4cc104bf2;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/board/boundarydevices/nitrogen6x/post-build.sh b/cirros-testvm/src-cirros/buildroot-2015.05/board/boundarydevices/nitrogen6x/post-build.sh new file mode 100755 index 0000000..2b43aa3 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/board/boundarydevices/nitrogen6x/post-build.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# post-build fixups +# for further details, see +# +# http://boundarydevices.com/u-boot-on-i-mx6/ +# + +BOARD_DIR="$(dirname $0)" + +# bd u-boot looks for bootscript here +install -D -m 0644 $BOARD_DIR/6x_bootscript $TARGET_DIR/6x_bootscript + +# u-boot / update script for bd upgradeu command +if [ -e $BINARIES_DIR/u-boot.imx ]; +then + 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 +fi