[oe-commits] org.oe.dev linux: do_sizecheck moved to kernel.bbclass (merged from Poky)

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


linux: do_sizecheck moved to kernel.bbclass (merged from Poky)

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

#
# mt diff -recf97ee309a14a16d6d89824678f4cb0d945440a -rf72a0f688eea0a4559430f2d777a82a1324bd4d2
#
# 
# 
# patch "packages/linux/linux.inc"
#  from [c2377d7cc726218e3c29b1d34e48ddc5e3e5c482]
#    to [2aaab624113f0e8a11e72235f6a6d3324e669100]
# 
============================================================
--- packages/linux/linux.inc	c2377d7cc726218e3c29b1d34e48ddc5e3e5c482
+++ packages/linux/linux.inc	2aaab624113f0e8a11e72235f6a6d3324e669100
@@ -99,18 +99,6 @@ do_configure_prepend() {
         yes '' | oe_runmake oldconfig
 }
 
-# Support checking the kernel size since some kernels need to reside in partitions
-# with a fixed length or there is a limit in transferring the kernel to memory
-do_sizecheck() {
-        if [ ! -z "${KERNEL_IMAGE_MAXSIZE}" ]; then
-            size=`ls -l arch/${ARCH}/boot/${KERNEL_IMAGETYPE} | awk '{ print $5}'`
-            if [ $size -ge ${KERNEL_IMAGE_MAXSIZE} ]; then
-                    rm arch/${ARCH}/boot/${KERNEL_IMAGETYPE}
-                    die  "This kernel (size=$size) is too big for your device. Please reduce the size of the kernel by making more of it modular."
-            fi
-        fi
-}
-
 UBOOT_ENTRYPOINT ?= "20008000"
 
 do_compile_append() {






More information about the Openembedded-commits mailing list