diff options
| -rw-r--r-- | meta/classes/kernel-uboot.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass index 2daa068298..2facade818 100644 --- a/meta/classes/kernel-uboot.bbclass +++ b/meta/classes/kernel-uboot.bbclass | |||
| @@ -15,6 +15,12 @@ uboot_prep_kimage() { | |||
| 15 | linux_comp="none" | 15 | linux_comp="none" |
| 16 | else | 16 | else |
| 17 | vmlinux_path="vmlinux" | 17 | vmlinux_path="vmlinux" |
| 18 | # Use vmlinux.initramfs for linux.bin when INITRAMFS_IMAGE_BUNDLE set | ||
| 19 | # As per the implementation in kernel.bbclass. | ||
| 20 | # See do_bundle_initramfs function | ||
| 21 | if [ "${INITRAMFS_IMAGE_BUNDLE}" = "1" ] && [ -e vmlinux.initramfs ]; then | ||
| 22 | vmlinux_path="vmlinux.initramfs" | ||
| 23 | fi | ||
| 18 | linux_suffix="${FIT_KERNEL_COMP_ALG_EXTENSION}" | 24 | linux_suffix="${FIT_KERNEL_COMP_ALG_EXTENSION}" |
| 19 | linux_comp="${FIT_KERNEL_COMP_ALG}" | 25 | linux_comp="${FIT_KERNEL_COMP_ALG}" |
| 20 | fi | 26 | fi |
