diff options
author | Thomas Kunze <thommycheck@gmx.de> | 2008-07-27 14:47:38 +0000 |
---|---|---|
committer | Thomas Kunze <thommycheck@gmx.de> | 2008-07-27 14:47:38 +0000 |
commit | 51528f555d648519a98e0d6f1785d3d689ef0943 (patch) | |
tree | 5caf5d9ab43f772cdf37341ddfe1458bc1f00070 /packages/linux/linux-kexecboot.inc | |
parent | 3e3f297457138e96e2b652658675796853eb0293 (diff) |
add linux-kexeboot: a kernel with initramfs-kernel-image as initramfs
will be used as 2nd stage bootloader for collie
Diffstat (limited to 'packages/linux/linux-kexecboot.inc')
-rw-r--r-- | packages/linux/linux-kexecboot.inc | 39 |
1 files changed, 39 insertions, 0 deletions
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() { +} |