diff options
author | Thomas Kunze <thommycheck@gmx.de> | 2008-03-08 12:55:20 +0000 |
---|---|---|
committer | Thomas Kunze <thommycheck@gmx.de> | 2008-03-08 12:55:20 +0000 |
commit | 98074f877fa79d47a22174f8b2ea7681a1240dbf (patch) | |
tree | e36db5d4f9a7727829a8ffd62631cfd2a686b5d5 /packages/linux/gumstix-linux.inc | |
parent | 70ae69edb02e0174db0841ae501299159c888514 (diff) |
linux.inc, gumstix-kernel.inc: remove sizecheck stuff
The do_sizecheck function is in kernel.bbclass for some time now.
Diffstat (limited to 'packages/linux/gumstix-linux.inc')
-rw-r--r-- | packages/linux/gumstix-linux.inc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/packages/linux/gumstix-linux.inc b/packages/linux/gumstix-linux.inc index 50111cb545..038089c965 100644 --- a/packages/linux/gumstix-linux.inc +++ b/packages/linux/gumstix-linux.inc @@ -35,16 +35,6 @@ do_configure_prepend() { yes '' | oe_runmake oldconfig } -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 -} - do_install_prepend() { if test -e arch/${ARCH}/boot/Image ; then ln -f arch/${ARCH}/boot/Image arch/${ARCH}/boot/uImage @@ -68,7 +58,4 @@ do_deploy() { fi } -addtask sizecheck before do_install after do_compile addtask deploy before do_package after do_install - - |