Force initramfs in kernel fitImage

This commit is contained in:
Alexandre Bard 2019-02-04 10:35:48 +01:00
parent d08e1ed71e
commit 910d6ba8b8
1 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,13 @@ do_configure_append(){
fi
}
fitimage_assemble_append(){
if [ "x${ramdiskcount}" = "x1" ] ; then
ln -sf ${2} arch/${ARCH}/boot/fitImage.initramfs
fi
}
do_install_append(){
if [ "${KERNEL_DEVICETREE}" != "" ]; then
ln -s devicetree-${DTB_SYMLINK_NAME}.dtb ${D}/${KERNEL_IMAGEDEST}/devicetree.dtb