summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-fitimage.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel-fitimage.bbclass')
-rw-r--r--meta/classes/kernel-fitimage.bbclass17
1 files changed, 1 insertions, 16 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 886ed13029..8718ce7e16 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -495,22 +495,7 @@ fitimage_assemble() {
495 fitimage_emit_section_maint $1 imagestart 495 fitimage_emit_section_maint $1 imagestart
496 496
497 uboot_prep_kimage 497 uboot_prep_kimage
498 498 fitimage_emit_section_kernel $1 $kernelcount linux.bin "$linux_comp"
499 if [ "${INITRAMFS_IMAGE_BUNDLE}" = "1" ]; then
500 initramfs_bundle_path="arch/"${UBOOT_ARCH}"/boot/"${KERNEL_IMAGETYPE_REPLACEMENT}".initramfs"
501 if [ -e "$initramfs_bundle_path" ]; then
502
503 #
504 # Include the kernel/rootfs bundle.
505 #
506
507 fitimage_emit_section_kernel $1 $kernelcount "$initramfs_bundle_path" "$linux_comp"
508 else
509 bbwarn "$initramfs_bundle_pat not found."
510 fi
511 else
512 fitimage_emit_section_kernel $1 $kernelcount linux.bin "$linux_comp"
513 fi
514 499
515 # 500 #
516 # Step 2: Prepare a DTB image section 501 # Step 2: Prepare a DTB image section