diff options
Diffstat (limited to 'linux/gumstix_2.6.5-gnalm1-gum0.oe')
-rw-r--r-- | linux/gumstix_2.6.5-gnalm1-gum0.oe | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/linux/gumstix_2.6.5-gnalm1-gum0.oe b/linux/gumstix_2.6.5-gnalm1-gum0.oe index e69de29bb2..bae18ef450 100644 --- a/linux/gumstix_2.6.5-gnalm1-gum0.oe +++ b/linux/gumstix_2.6.5-gnalm1-gum0.oe @@ -0,0 +1,25 @@ +DESCRIPTION = "Linux kernel for OMAP processors" +LICENSE = "GPL" + +# NOTE: pulled local linux-2.6.5-gnalm1, since it didn't apply cleanly +SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.5.tar.bz2 \ + file://linux-2.6.5-gnalm1.patch;patch=1 \ + http://gumstix.superlucidity.net/downloads/kernel/patches/linux-2.6.5-gnalm1-gum0.patch;patch=1 \ + file://defconfig" +S = "${WORKDIR}/linux-2.6.5" + +inherit kernel + +KERNEL_IMAGETYPE = "zImage" + +do_configure_prepend() { + oe_machinstall -m 0644 ${WORKDIR}/defconfig ${S}/.config || die "no default configuration for ${MACHINE} available." + oe_runmake oldconfig +} + +python __anonymous () { + import re + host = oe.data.getVar('HOST_SYS', d, 1) + if not re.match('arm.*-linux', host): + raise oe.parse.SkipPackage("incompatible with host %s" % host) +} |