From a90f19506a2f346b0f482445ca46defb53f58548 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 8 Apr 2006 20:02:39 +0000 Subject: linux-openzaurus.inc: Correct the maximum zaurus kernel size (#816). --- packages/linux/linux-openzaurus.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/linux') diff --git a/packages/linux/linux-openzaurus.inc b/packages/linux/linux-openzaurus.inc index cb0c5291ec..80ccdb4f85 100644 --- a/packages/linux/linux-openzaurus.inc +++ b/packages/linux/linux-openzaurus.inc @@ -99,12 +99,12 @@ do_configure() { yes '' | oe_runmake oldconfig } -# Check the kernel is below the 1272*1024 byte limit for the PXA Zaurii +# Check the kernel is below the 1264*1024 byte limit for the PXA Zaurii do_compile_append() { case ${MACHINE} in c7x0 | akita | poodle | spitz | tosa ) size=`ls -l arch/${ARCH}/boot/${KERNEL_IMAGETYPE} | awk '{ print $5}'` - if [ $size -ge 1302000 ]; then + if [ $size -ge 1294336 ]; then rm arch/${ARCH}/boot/${KERNEL_IMAGETYPE} echo "Size is $size" die "This kernel is too big for your PXA Zaurus and will destroy data if you flash it. Please reduce the size of the kernel by making more of it modular." -- cgit v1.2.3