From 699240998f91fb0868228447eac568ee549ab9ef Mon Sep 17 00:00:00 2001 From: Ricardo Martins Date: Wed, 6 Apr 2016 16:38:22 +0100 Subject: [PATCH] u-boot: install u-boot.bin also. --- rules/u-boot/default.bash | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rules/u-boot/default.bash b/rules/u-boot/default.bash index bcf4107..02d0a5d 100644 --- a/rules/u-boot/default.bash +++ b/rules/u-boot/default.bash @@ -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" - fi + for f in MLO u-boot.img u-boot.bin; do + if [ -f "$f" ]; then + $cmd_cp "$f" "$cfg_dir_rootfs/boot" + fi + done }