summaryrefslogtreecommitdiff
path: root/packages/linux/linux-colinux_2.6.10.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/linux-colinux_2.6.10.bb')
-rw-r--r--packages/linux/linux-colinux_2.6.10.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/linux/linux-colinux_2.6.10.bb b/packages/linux/linux-colinux_2.6.10.bb
index e69de29bb2..ecd0f64a0d 100644
--- a/packages/linux/linux-colinux_2.6.10.bb
+++ b/packages/linux/linux-colinux_2.6.10.bb
@@ -0,0 +1,23 @@
+SECTION = "kernel"
+DESCRIPTION = "User Mode Linux Kernel"
+LICENSE = "GPL"
+COLV = "0.6.2"
+
+#http://internap.dl.sourceforge.net/sourceforge/colinux/coLinux-${COLV}.tar.gz
+SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+ file://colinux-${COLV}.patch;patch=1 \
+ file://defconfig"
+
+S = "${WORKDIR}/linux-${PV}"
+
+inherit kernel
+
+COMPATIBLE_HOST = "i.86.*-linux"
+KERNEL_IMAGETYPE = "vmlinux"
+KERNEL_OUTPUT = "./${KERNEL_IMAGETYPE}"
+
+do_configure() {
+ echo '-co-${COLV}' > localversion-cooperative
+ install -m 0644 ${WORKDIR}/defconfig .config
+ kernel_do_configure
+}