u-boot: install u-boot.bin also.

This commit is contained in:
Ricardo Martins 2016-04-06 16:38:22 +01:00
parent 908cfbb684
commit 699240998f

View File

@ -43,11 +43,11 @@ host_install()
target_install() target_install()
{ {
if [ -f MLO ]; then $cmd_mkdir "$cfg_dir_rootfs/boot"
$cmd_cp MLO "$cfg_dir_rootfs/boot"
fi
if [ -f u-boot.img ]; then for f in MLO u-boot.img u-boot.bin; do
$cmd_cp u-boot.img "$cfg_dir_rootfs/boot" if [ -f "$f" ]; then
fi $cmd_cp "$f" "$cfg_dir_rootfs/boot"
fi
done
} }