[oe-commits] org.oe.dev linux-rp: removed size checking as it is now in kernel.bbclass

hrw commit openembedded-commits at lists.openembedded.org
Fri Jan 18 21:41:19 UTC 2008


linux-rp: removed size checking as it is now in kernel.bbclass

Author: hrw at openembedded.org
Branch: org.openembedded.dev
Revision: dc9d175ccb45ba3518889afaa86782f94bdb221a
ViewMTN: http://monotone.openembedded.org/revision/info/dc9d175ccb45ba3518889afaa86782f94bdb221a
Files:
1
packages/linux/linux-rp.inc
Diffs:

#
# mt diff -r3a67f100390e466ab011cf5a80420a3718e7efaa -rdc9d175ccb45ba3518889afaa86782f94bdb221a
#
# 
# 
# patch "packages/linux/linux-rp.inc"
#  from [909451ef86b7f046c9e21dd9cc93f456381c98fd]
#    to [f6ead960d9a72e9da49bbcc20e05e0c2c0642a00]
# 
============================================================
--- packages/linux/linux-rp.inc	909451ef86b7f046c9e21dd9cc93f456381c98fd
+++ packages/linux/linux-rp.inc	f6ead960d9a72e9da49bbcc20e05e0c2c0642a00
@@ -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}






More information about the Openembedded-commits mailing list