diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index b2f8132abf..26273bd1e8 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -484,16 +484,16 @@ kernel_do_deploy() { | |||
484 | 484 | ||
485 | if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then | 485 | if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then |
486 | if test -e arch/${ARCH}/boot/uImage ; then | 486 | if test -e arch/${ARCH}/boot/uImage ; then |
487 | cp arch/${ARCH}/boot/uImage ${DEPLOYDIR}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin | 487 | cp arch/${ARCH}/boot/uImage ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin |
488 | elif test -e arch/${ARCH}/boot/compressed/vmlinux ; then | 488 | elif test -e arch/${ARCH}/boot/compressed/vmlinux ; then |
489 | ${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin | 489 | ${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin |
490 | uboot-mkimage -A ${ARCH} -O linux -T kernel -C none -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${DEPLOYDIR}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin | 490 | uboot-mkimage -A ${ARCH} -O linux -T kernel -C none -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin |
491 | rm -f linux.bin | 491 | rm -f linux.bin |
492 | else | 492 | else |
493 | ${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin | 493 | ${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin |
494 | rm -f linux.bin.gz | 494 | rm -f linux.bin.gz |
495 | gzip -9 linux.bin | 495 | gzip -9 linux.bin |
496 | uboot-mkimage -A ${ARCH} -O linux -T kernel -C gzip -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin.gz ${DEPLOYDIR}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin | 496 | uboot-mkimage -A ${ARCH} -O linux -T kernel -C gzip -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin.gz ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin |
497 | rm -f linux.bin.gz | 497 | rm -f linux.bin.gz |
498 | fi | 498 | fi |
499 | fi | 499 | fi |