u-boot: copy both img and imx images

This commit is contained in:
vpeter4 2014-09-06 11:45:37 +02:00 committed by Stephan Raue
parent 37290d1ad4
commit cc1b8d80e8

View File

@ -35,7 +35,13 @@ mkdir -p $RELEASE_DIR/3rdparty/bootloader
cp -PR $BUILD/u-boot-*/u-boot.imx $RELEASE_DIR/3rdparty/bootloader
fi
cp -PR $BUILD/u-boot-*/u-boot.img $RELEASE_DIR/3rdparty/bootloader
if [ -e $BUILD/u-boot-*/u-boot.img ] ;then
cp -PR $BUILD/u-boot-*/u-boot.img $RELEASE_DIR/3rdparty/bootloader
fi
if [ -e $BUILD/u-boot-*/u-boot.imx ] ;then
cp -PR $BUILD/u-boot-*/u-boot.imx $RELEASE_DIR/3rdparty/bootloader
fi
for dtb in $BUILD/linux-*/arch/arm/boot/dts/*.dtb; do
cp -PR $dtb $RELEASE_DIR/3rdparty/bootloader