aboutsummaryrefslogtreecommitdiffstats
path: root/packages/linux/linux-colinux_2.4.28.bb
blob: 119194554052cd469f1b1ebc4701e6aee61eccd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SECTION = "kernel"
DESCRIPTION = "User Mode Linux Kernel"
LICENSE = "GPL"
COLV = "0.6.1"

#http://internap.dl.sourceforge.net/sourceforge/colinux/coLinux-0.6.1.tar.gz
SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
	   file://colinux-${COLV}.patch;patch=1 \
	   file://nofpu.patch;patch=1 \
	   file://shortloadbytes.patch;patch=1 \
	   file://gcc-registerparanoia.patch;patch=1 \
	   file://linux-2.4.24-attribute-used.patch;patch=1 \
	   file://gcc340-fixes-v2.4.26-try3.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() {
	install -m 0644 ${WORKDIR}/defconfig .config
	kernel_do_configure
}