diff --git a/eclass/sablink-kernel.eclass b/eclass/sablink-kernel.eclass index 3d335c0..5cdcda3 100644 --- a/eclass/sablink-kernel.eclass +++ b/eclass/sablink-kernel.eclass @@ -793,7 +793,7 @@ _kernel_src_compile() { if [ "${K_SABKERNEL_TYPE}" = "buffalo" ]; then if [ "${K_SABKERNEL_DTB}" = "none" ]; then einfo "Prepend the correct Device ID to the Kenel Image" - cat foo "${WORKDIR}"/boot/kernel-genkernel-${ARCH}-${KV_FULL} > zImage.new + cat foo "${WORKDIR}"/boot/kernel-genkernel-${ARCH}-${PV}-${K_SABKERNEL_NAME} > zImage.new einfo "Create uImage of the resulting Image" mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n uImage-${KV_FULL} \ -d zImage.new "${WORKDIR}"/boot/uImage-genkernel-${ARCH}-${KV_FULL}.buffalo @@ -802,7 +802,7 @@ _kernel_src_compile() { -d "${WORKDIR}"/boot/initramfs-genkernel-${ARCH}-${PV}-${K_SABKERNEL_NAME} "${WORKDIR}"/boot/uInitramfs-genkernel-${ARCH}-${KV_FULL}.buffalo else einfo "Append the device-tree-blob to the Kenel Image" - cat "${WORKDIR}"/boot/kernel-genkernel-${ARCH}-${KV_FULL} "${S}"/${K_SABKERNEL_DTB} > zImage.new + cat "${WORKDIR}"/boot/kernel-genkernel-${ARCH}-${PV}-${K_SABKERNEL_NAME} "${S}"/${K_SABKERNEL_DTB} > zImage.new cp "${S}"/${K_SABKERNEL_DTB} "${WORKDIR}"/boot/dtb/ einfo "Create uImage of the resulting Image" mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n uImage-${KV_FULL} \