linux: install all dtbs to root folder.
This commit is contained in:
parent
08117b4b9a
commit
0e030cb595
@ -160,15 +160,6 @@ 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()
|
||||
{
|
||||
if [ -n "$(file "$cfg_target_linux_kernel" | grep ELF)" ]; then
|
||||
@ -184,6 +175,13 @@ target_install()
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Device tree blobs.
|
||||
dts="arch/$cfg_target_linux/boot/dts"
|
||||
if [ -d "$dts" ]; then
|
||||
$cmd_mkdir "$cfg_dir_rootfs/boot" &&
|
||||
cp -v "$dts/"*.dtb "$cfg_dir_rootfs/boot"
|
||||
fi
|
||||
|
||||
# Device tree overlays.
|
||||
overlays_dir="arch/$cfg_target_linux/boot/dts/overlays"
|
||||
if [ -d "$overlays_dir" ]; then
|
||||
|
Reference in New Issue
Block a user