mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
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>
This commit is contained in:
@@ -484,16 +484,16 @@ kernel_do_deploy() {
|
|||||||
|
|
||||||
if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then
|
if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then
|
||||||
if test -e arch/${ARCH}/boot/uImage ; then
|
if test -e arch/${ARCH}/boot/uImage ; then
|
||||||
cp arch/${ARCH}/boot/uImage ${DEPLOYDIR}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin
|
cp arch/${ARCH}/boot/uImage ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin
|
||||||
elif test -e arch/${ARCH}/boot/compressed/vmlinux ; then
|
elif test -e arch/${ARCH}/boot/compressed/vmlinux ; then
|
||||||
${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin
|
${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin
|
||||||
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
|
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
|
||||||
rm -f linux.bin
|
rm -f linux.bin
|
||||||
else
|
else
|
||||||
${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin
|
${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin
|
||||||
rm -f linux.bin.gz
|
rm -f linux.bin.gz
|
||||||
gzip -9 linux.bin
|
gzip -9 linux.bin
|
||||||
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
|
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
|
||||||
rm -f linux.bin.gz
|
rm -f linux.bin.gz
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user