aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/kexecboot
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2010-02-14 01:19:08 +0100
committerAndrea Adami <andrea.adami@gmail.com>2010-02-14 01:19:08 +0100
commit45f82a941c77e9d747814fa1e337ba803475d327 (patch)
tree707b6edc2907dc83061972425f1d2ee7459a44a5 /recipes/kexecboot
parent860e9c92702c0551f397d3fab0a8e404fad4dbe5 (diff)
downloadopenembedded-45f82a941c77e9d747814fa1e337ba803475d327.tar.gz
openembedded-45f82a941c77e9d747814fa1e337ba803475d327.tar.bz2
openembedded-45f82a941c77e9d747814fa1e337ba803475d327.zip
zaurus-kernels: move the kernel size check to linux-kexecboot.inc.
* no need for DONT_CHECK_KERNELSIZE * clean up the affected files * check happens only if KERNEL_IMAGE_MAXSIZE is set
Diffstat (limited to 'recipes/kexecboot')
-rw-r--r--recipes/kexecboot/linux-kexecboot.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/kexecboot/linux-kexecboot.inc b/recipes/kexecboot/linux-kexecboot.inc
index 82f2c53491..a241be8751 100644
--- a/recipes/kexecboot/linux-kexecboot.inc
+++ b/recipes/kexecboot/linux-kexecboot.inc
@@ -6,7 +6,6 @@ SRC_URI = "file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2"
require ../linux/linux.inc
-DONT_CHECK_KERNELSIZE = ""
INITRAMFS_IMAGE = "initramfs-kexecboot-image"
# here we set master console on serial
@@ -26,6 +25,9 @@ BASRC = "http://www.orca.cx/zaurus/patches"
CHSRC = "http://oz.drigon.com/patches"
TKSRC = "http://www.informatik.hu-berlin.de/~tkunze/zaurus/patches"
+KERNEL_IMAGE_MAXSIZE = "1294336"
+KERNEL_IMAGE_MAXSIZE_collie = "1048576"
+
KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${PV}-${PR}-${MACHINE}"
KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}"