summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-12-06 09:44:46 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-12-06 09:44:46 +0000
commitd46841a5c760f9910a0841d7e96e6cd8fd0729c6 (patch)
tree33416b88b62328c0842cf44349d0e5aab58fadd1 /meta/packages
parent048754f6843b4bf0c205f25571b89ed9121977bd (diff)
downloadopenembedded-core-d46841a5c760f9910a0841d7e96e6cd8fd0729c6.tar.gz
openembedded-core-d46841a5c760f9910a0841d7e96e6cd8fd0729c6.tar.bz2
openembedded-core-d46841a5c760f9910a0841d7e96e6cd8fd0729c6.tar.xz
openembedded-core-d46841a5c760f9910a0841d7e96e6cd8fd0729c6.zip
linux-rp: kernel size check is now in kernel.bbclass
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3315 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/linux/linux-rp.inc24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/packages/linux/linux-rp.inc b/meta/packages/linux/linux-rp.inc
index a63ea20a1..610ccefa9 100644
--- a/meta/packages/linux/linux-rp.inc
+++ b/meta/packages/linux/linux-rp.inc
@@ -136,30 +136,6 @@ do_configure() {
yes '' | oe_runmake oldconfig
}
-# 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 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."
- 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
-}
-
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_DEPLOY_NAME}