diff options
Diffstat (limited to 'meta/classes/kernel-fitimage.bbclass')
-rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 6b7c1c3a7d..5cfd8af99d 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass | |||
@@ -55,7 +55,7 @@ python __anonymous () { | |||
55 | 55 | ||
56 | 56 | ||
57 | # Description string | 57 | # Description string |
58 | FIT_DESC ?= "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}" | 58 | FIT_DESC ?= "Kernel fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}" |
59 | 59 | ||
60 | # Sign individual images as well | 60 | # Sign individual images as well |
61 | FIT_SIGN_INDIVIDUAL ?= "0" | 61 | FIT_SIGN_INDIVIDUAL ?= "0" |
@@ -695,12 +695,22 @@ kernel_do_deploy_append() { | |||
695 | ln -snf fitImage-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_NAME}.bin "$deployDir/fitImage-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_LINK_NAME}" | 695 | ln -snf fitImage-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_NAME}.bin "$deployDir/fitImage-${INITRAMFS_IMAGE_NAME}-${KERNEL_FIT_LINK_NAME}" |
696 | fi | 696 | fi |
697 | fi | 697 | fi |
698 | if [ "${UBOOT_SIGN_ENABLE}" = "1" -a -n "${UBOOT_DTB_BINARY}" ] ; then | 698 | fi |
699 | # UBOOT_DTB_IMAGE is a realfile, but we can't use | 699 | if [ "${UBOOT_SIGN_ENABLE}" = "1" -o "${UBOOT_FITIMAGE_ENABLE}" = "1" ] && \ |
700 | # ${UBOOT_DTB_IMAGE} since it contains ${PV} which is aimed | 700 | [ -n "${UBOOT_DTB_BINARY}" ] ; then |
701 | # for u-boot, but we are in kernel env now. | 701 | # UBOOT_DTB_IMAGE is a realfile, but we can't use |
702 | install -m 0644 ${B}/u-boot-${MACHINE}*.dtb "$deployDir/" | 702 | # ${UBOOT_DTB_IMAGE} since it contains ${PV} which is aimed |
703 | fi | 703 | # for u-boot, but we are in kernel env now. |
704 | install -m 0644 ${B}/u-boot-${MACHINE}*.dtb "$deployDir/" | ||
705 | fi | ||
706 | if [ "${UBOOT_FITIMAGE_ENABLE}" = "1" -a -n "${UBOOT_BINARY}" -a -n "${SPL_DTB_BINARY}" ] ; then | ||
707 | # If we're also creating and/or signing the uboot fit, now we need to | ||
708 | # deploy it, it's its file, as well as u-boot-spl.dtb | ||
709 | install -m 0644 ${B}/u-boot-spl-${MACHINE}*.dtb "$deployDir/" | ||
710 | echo "Copying u-boot-fitImage file..." | ||
711 | install -m 0644 ${B}/u-boot-fitImage-* "$deployDir/" | ||
712 | echo "Copying u-boot-its file..." | ||
713 | install -m 0644 ${B}/u-boot-its-* "$deployDir/" | ||
704 | fi | 714 | fi |
705 | } | 715 | } |
706 | 716 | ||