diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-03-14 08:27:48 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-03-14 08:27:48 +0000 |
commit | 21af76526a4c0ad05348de8a7fb10c6b0d226f95 (patch) | |
tree | 43717bcd951cd026f11a4604acc99dc956c18f01 | |
parent | 399d2c85d6f5621923d481c62e02fdcf185feeb0 (diff) |
linux/linux-handhelds-2.6: Readd check that ${KERNEL_INITRAMFS_PATH} exists.
-rw-r--r-- | packages/linux/linux-handhelds-2.6.inc | 5 | ||||
-rw-r--r-- | packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb | 2 |
2 files changed, 6 insertions, 1 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 diff --git a/packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb b/packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb index 9d493c3212..3df1102761 100644 --- a/packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb +++ b/packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb @@ -1,7 +1,7 @@ SECTION = "kernel" DESCRIPTION = "handhelds.org Linux kernel 2.6 for PocketPCs and other consumer handheld devices." LICENSE = "GPL" -PR = "r19" +PR = "r20" DEFAULT_PREFERENCE = "-1" |