summaryrefslogtreecommitdiff
path: root/packages/linux
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-04-08 20:02:39 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-08 20:02:39 +0000
commita90f19506a2f346b0f482445ca46defb53f58548 (patch)
treef16e38456800bd0c9655b04bf67a08c128ba39dd /packages/linux
parent52dcccdfd31b0b0c9ac4725dd52a20b88a6b7b7c (diff)
linux-openzaurus.inc: Correct the maximum zaurus kernel size (#816).
Diffstat (limited to 'packages/linux')
-rw-r--r--packages/linux/linux-openzaurus.inc4
1 files changed, 2 insertions, 2 deletions
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."