From 21af76526a4c0ad05348de8a7fb10c6b0d226f95 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 14 Mar 2008 08:27:48 +0000 Subject: linux/linux-handhelds-2.6: Readd check that ${KERNEL_INITRAMFS_PATH} exists. --- packages/linux/linux-handhelds-2.6.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packages/linux/linux-handhelds-2.6.inc') diff --git a/packages/linux/linux-handhelds-2.6.inc b/packages/linux/linux-handhelds-2.6.inc index 5970ace054..48e49115f0 100644 --- a/packages/linux/linux-handhelds-2.6.inc +++ b/packages/linux/linux-handhelds-2.6.inc @@ -38,6 +38,11 @@ do_configure() { fi if [ -n "${KERNEL_INITRAMFS_PATH}" -a "${ANGSTROM_MODE}" = "glibc" ]; then + if [ ! -f ${KERNEL_INITRAMFS_PATH} ]; then + echo "${KERNEL_INITRAMFS_PATH} does not exist, you may need to bitbake it separately" + exit 1 + fi + # Kernel expects non-compressed cpio gzip -d -c ${KERNEL_INITRAMFS_PATH} >${WORKDIR}/initramfs.cpio echo "CONFIG_INITRAMFS_SOURCE=\"${WORKDIR}/initramfs.cpio\"" >> ${S}/.config -- cgit v1.2.3