diff options
| -rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 3b23138628..b88d7dbe4b 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass | |||
| @@ -431,22 +431,7 @@ fitimage_assemble() { | |||
| 431 | fitimage_emit_section_maint ${1} imagestart | 431 | fitimage_emit_section_maint ${1} imagestart |
| 432 | 432 | ||
| 433 | uboot_prep_kimage | 433 | uboot_prep_kimage |
| 434 | 434 | fitimage_emit_section_kernel $1 $kernelcount linux.bin "$linux_comp" | |
| 435 | if [ "${INITRAMFS_IMAGE_BUNDLE}" = "1" ]; then | ||
| 436 | initramfs_bundle_path="arch/"${UBOOT_ARCH}"/boot/"${KERNEL_IMAGETYPE_REPLACEMENT}".initramfs" | ||
| 437 | if [ -e "${initramfs_bundle_path}" ]; then | ||
| 438 | |||
| 439 | # | ||
| 440 | # Include the kernel/rootfs bundle. | ||
| 441 | # | ||
| 442 | |||
| 443 | fitimage_emit_section_kernel ${1} "${kernelcount}" "${initramfs_bundle_path}" "${linux_comp}" | ||
| 444 | else | ||
| 445 | bbwarn "${initramfs_bundle_path} not found." | ||
| 446 | fi | ||
| 447 | else | ||
| 448 | fitimage_emit_section_kernel ${1} "${kernelcount}" linux.bin "${linux_comp}" | ||
| 449 | fi | ||
| 450 | 435 | ||
| 451 | # | 436 | # |
| 452 | # Step 2: Prepare a DTB image section | 437 | # Step 2: Prepare a DTB image section |
