diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-01-18 15:55:01 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-01-18 15:55:01 +0000 |
commit | 6396b7f92b0940f616d90454249c56cbdbdee027 (patch) | |
tree | 57fb035f549faaafcf583961643a9ef252b88f34 /packages/linux/linux-rp.inc | |
parent | 4801c8709e4ac47a1e633137b5b6355b3f85ba97 (diff) |
linux-rp: removed size checking as it is now in kernel.bbclass
Diffstat (limited to 'packages/linux/linux-rp.inc')
-rw-r--r-- | packages/linux/linux-rp.inc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/packages/linux/linux-rp.inc b/packages/linux/linux-rp.inc index 8f180164e0..4137b991d1 100644 --- a/packages/linux/linux-rp.inc +++ b/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} |