summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-12-20 21:13:26 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-20 21:13:26 +0000
commit2e94e9a4fed33b1c7c5b0ce1dbc566e24344280c (patch)
tree36dfc167829cdd76419f15ebc8c298d17b42b885 /meta/classes/kernel.bbclass
parent1e40bc8272df4774cde8f1a9d8561624eb6ae930 (diff)
downloadpoky-2e94e9a4fed33b1c7c5b0ce1dbc566e24344280c.tar.gz
kernel.bbclass: Use KERNEL_IMAGE_BASE_NAME variable instead of the expanded equivalent. Fixes sstate rebuild issue
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass6
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