linux: copy all architecture DTBs too /boot.
This commit is contained in:
parent
df4184c67b
commit
45078ae86b
@ -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" \
|
||||
|
Reference in New Issue
Block a user