add 2.4.26 for sun4cdm
[vuplus_openembedded] / linux / gumstix_2.6.5-gnalm1-gum0.oe
1 DESCRIPTION = "Linux kernel for OMAP processors"
2 LICENSE = "GPL"
3
4 # NOTE: pulled local linux-2.6.5-gnalm1, since it didn't apply cleanly
5 SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.5.tar.bz2 \
6            file://linux-2.6.5-gnalm1.patch;patch=1 \
7            http://gumstix.superlucidity.net/downloads/kernel/patches/linux-2.6.5-gnalm1-gum0.patch;patch=1 \
8            file://defconfig"
9 S = "${WORKDIR}/linux-2.6.5"
10
11 inherit kernel
12
13 KERNEL_IMAGETYPE = "zImage"
14
15 do_configure_prepend() {
16         install -m 0644 ${WORKDIR}/defconfig ${S}/.config || die "no default configuration for ${MACHINE} available."
17         oe_runmake oldconfig
18 }
19
20 python __anonymous () {
21         import re
22         host = oe.data.getVar('HOST_SYS', d, 1)
23         if not re.match('arm.*-linux', host):
24                 raise oe.parse.SkipPackage("incompatible with host %s" % host)
25 }