From 51528f555d648519a98e0d6f1785d3d689ef0943 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Sun, 27 Jul 2008 14:47:38 +0000 Subject: add linux-kexeboot: a kernel with initramfs-kernel-image as initramfs will be used as 2nd stage bootloader for collie --- packages/linux/linux-kexecboot.inc | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 packages/linux/linux-kexecboot.inc (limited to 'packages/linux/linux-kexecboot.inc') diff --git a/packages/linux/linux-kexecboot.inc b/packages/linux/linux-kexecboot.inc new file mode 100644 index 0000000000..e527f92c57 --- /dev/null +++ b/packages/linux/linux-kexecboot.inc @@ -0,0 +1,39 @@ +DESCRIPTION = "2.6 Linux kexec bootloader for Zaurus devices and iPAQ hx2750." +SECTION = "kernel" +LICENSE = "GPL" + +INITRAMFS_IMAGE = "initramfs-kexec-image" +inherit kernel +PACKAGES = "" +PROVIDES = "" + +DOSRC = "http://www.do13.de/openzaurus/patches" +RPSRC = "http://www.rpsys.net/openzaurus/patches/archive" +JLSRC = "http://www.cs.wisc.edu/~lenz/zaurus/files" +BASRC = "http://www.orca.cx/zaurus/patches" +CHSRC = "http://oz.drigon.com/patches" +TKSRC = "http://www.informatik.hu-berlin.de/~tkunze/zaurus/patches" + +COMPATIBLE_HOST = "(arm|i.86).*-linux" +COMPATIBLE_MACHINE = '(collie|poodle|c7x0|akita|spitz|tosa|hx2000|qemuarm|qemux86|bootcdx86|htcuniversal|zylonite)' + +KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${PV}-${PR}-${MACHINE}" +KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}" + +KERNEL_DEFCONFIG ?= "defconfig-${MACHINE}" + +do_compile[depends] += "${INITRAMFS_IMAGE}:do_rootfs" + +do_configure() { + cp '${WORKDIR}/${KERNEL_DEFCONFIG}' '${S}/.config' + yes '' | oe_runmake oldconfig +} + +do_stage() { +} + +do_install() { +} + +python do_package() { +} -- cgit v1.2.3