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()
{
if [ -f MLO ]; then
$cmd_cp MLO "$cfg_dir_rootfs/boot"
fi
$cmd_mkdir "$cfg_dir_rootfs/boot"
if [ -f u-boot.img ]; then
$cmd_cp u-boot.img "$cfg_dir_rootfs/boot"
for f in MLO u-boot.img u-boot.bin; do
if [ -f "$f" ]; then
$cmd_cp "$f" "$cfg_dir_rootfs/boot"
fi
done
}