summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2008-01-18 16:00:13 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-01-18 16:00:13 +0000
commit64d42088012e1255aff3e7565bf08afbc8317335 (patch)
tree85c46295a519904ee089f9b4a09e4183d01a18c7
parent0cbcbf9ad2bff7f76607eebf09b85da56df7c7d3 (diff)
linux: do_sizecheck moved to kernel.bbclass (merged from Poky)
-rw-r--r--packages/linux/linux.inc12
1 files changed, 0 insertions, 12 deletions
diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc
index 345a2bd021..0bfcff9771 100644
--- a/packages/linux/linux.inc
+++ b/packages/linux/linux.inc
@@ -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() {