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