aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
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
parent860e9c92702c0551f397d3fab0a8e404fad4dbe5 (diff)
downloadopenembedded-45f82a941c77e9d747814fa1e337ba803475d327.tar.gz
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')
-rw-r--r--recipes/kexecboot/linux-kexecboot.inc4
-rw-r--r--recipes/preboot/linux-preboot.inc1
2 files changed, 3 insertions, 2 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}"
diff --git a/recipes/preboot/linux-preboot.inc b/recipes/preboot/linux-preboot.inc
index 56a90a9723..d8771f8cca 100644
--- a/recipes/preboot/linux-preboot.inc
+++ b/recipes/preboot/linux-preboot.inc
@@ -5,7 +5,6 @@ LOGO_SIZE = '${@base_conditional("GUI_MACHINE_CLASS", "bigscreen", "vga", "qvga"
require ../linux/linux.inc
-DONT_CHECK_KERNELSIZE = ""
INITRAMFS_IMAGE = "initramfs-preboot-image"
# here we set master console on serial