summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-27 21:39:13 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-27 21:39:13 +0000
commit35583528420affc7496ff15e91bc83de446577d3 (patch)
tree5e5a0d53075b789aa3218f6b31dbd055b0ccfb1d
parenta9a3f11bbfb704e732143f05ce5be918283c0035 (diff)
downloadopenembedded-core-35583528420affc7496ff15e91bc83de446577d3.tar.gz
openembedded-core-35583528420affc7496ff15e91bc83de446577d3.tar.bz2
openembedded-core-35583528420affc7496ff15e91bc83de446577d3.zip
linux-openzaurus.inc: sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@443 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--openembedded/packages/linux/linux-openzaurus.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/openembedded/packages/linux/linux-openzaurus.inc b/openembedded/packages/linux/linux-openzaurus.inc
index c806452e52..e99bd07316 100644
--- a/openembedded/packages/linux/linux-openzaurus.inc
+++ b/openembedded/packages/linux/linux-openzaurus.inc
@@ -130,6 +130,14 @@ do_compile_append() {
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."
fi
;;
+ collie )
+ size=`ls -l arch/${ARCH}/boot/${KERNEL_IMAGETYPE} | awk '{ print $5}'`
+ if [ $size -ge 1048576 ]; then
+ rm arch/${ARCH}/boot/${KERNEL_IMAGETYPE}
+ echo "Size is $size"
+ die "This kernel is too big for your Collie and will not be flashed. Please reduce the size of the kernel by making more of it modular."
+ fi
+ ;;
*)
;;
esac