@@ -11,7 +11,9 @@ inherit kernel-uboot
kernel_do_deploy:append() {
# Provide the kernel artifacts to post processing recipes e.g. for creating a FIT image
- uboot_prep_kimage "$deployDir"
+ if [ -z "${FIT_KERNEL_FILENAME}" ] && [ "${FIT_KERNEL_FILENAME_COMPRESSED}" = 'linux.bin' ]; then
+ uboot_prep_kimage "$deployDir"
+ fi
# For x86 a setup.bin needs to be include"d in a fitImage as well
if [ -e ${KERNEL_OUTPUT_DIR}/setup.bin ]; then
install -D "${B}/${KERNEL_OUTPUT_DIR}/setup.bin" "$deployDir/"
With the introduction of FIT_KERNEL_FILENAME[_COMPRESSED], building linux.bin can be skipped if any of the two variables is set to a non-default value, as kernel-fit-image.bbclass will handle the compression itself. Signed-off-by: Nora Schiffer <nora.schiffer@ew.tq-group.com> --- meta/classes-recipe/kernel-fit-extra-artifacts.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)