summaryrefslogtreecommitdiff
path: root/packages/linux/linux-handhelds-2.6.inc
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2008-03-14 08:30:01 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2008-03-14 08:30:01 +0000
commit4df6160f24b0049d2956740847eed1ed484d5d0a (patch)
treebc232481697baa9001e014b3b06c80d2bd9cb54e /packages/linux/linux-handhelds-2.6.inc
parenteaba7389f65a007c3cee55e0ba1f260e7aa6a0f7 (diff)
parent21af76526a4c0ad05348de8a7fb10c6b0d226f95 (diff)
merge of '18293653fb0ec41c60cab9ca36df1dd7c1834880'
and 'b54f849e3abe2877a2579b6348c60e2c6c1a08ca'
Diffstat (limited to 'packages/linux/linux-handhelds-2.6.inc')
-rw-r--r--packages/linux/linux-handhelds-2.6.inc5
1 files changed, 5 insertions, 0 deletions
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