@@ -56,4 +56,14 @@ uboot_prep_kimage() {
fi
printf "$linux_comp" > "$output_dir/linux_comp"
-}
\ No newline at end of file
+}
+
+do_install:append() {
+ # Provide the kernel artifacts to post processing recipes e.g. for creating a FIT image
+ install -d ${D}/sysroot-only
+ uboot_prep_kimage ${D}/sysroot-only
+ # For x86 a setup.bin needs to be included in a fitImage as well
+ if [ -e ${KERNEL_OUTPUT_DIR}/setup.bin ]; then
+ install -D ${B}/${KERNEL_OUTPUT_DIR}/setup.bin ${D}/sysroot-only/setup.bin
+ fi
+}