linux: copy all architecture DTBs too /boot.

This commit is contained in:
Ricardo Martins 2014-10-24 03:11:08 +01:00
parent df4184c67b
commit 45078ae86b

View File

@ -101,6 +101,15 @@ build()
fi
}
host_install()
{
# Device tree blobs.
if [ -n "$cfg_target_linux_dtb" ]; then
$cmd_mkdir "$cfg_dir_toolchain/boot" &&
cp -v "$(dirname $cfg_target_linux_dtb)/"*.dtb "$cfg_dir_toolchain/boot"
fi
}
target_install()
{
kernel="$cfg_dir_base/${cfg_sys_family}/glued-${cfg_glued_version}-${cfg_sys_family}-kernel.bin"
@ -116,11 +125,6 @@ target_install()
cp -v "$cfg_target_linux_kernel" "$cfg_dir_rootfs/boot/kernel"
fi
# Device tree blob.
if [ -n "$cfg_target_linux_dtb" ]; then
cp -v "$cfg_target_linux_dtb" "$cfg_dir_rootfs/boot/board.dtb"
fi
$cmd_make \
CROSS_COMPILE="$cfg_target_canonical-" \
ARCH="$cfg_target_linux" \