summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-jlime-jornada7xx_2.6.19rc6.bb
blob: a80f4c91a1c25ee837a67e73429cb75434d7c0a8 (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
28
SECTION = "kernel"
DESCRIPTION = "JLime Linux kernel for Arm based Jornada 7xx"
LICENSE = "GPL"
PR = "r0"

COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = "jornada7xx"

SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.gz \
           ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/v2.6.19/patch-2.6.19-rc6.bz2;patch=1 \
	   file://jornada7xx.patch;patch=0 \
           file://defconf_jlime "

S = "${WORKDIR}/linux-2.6.18"

inherit kernel

#Lets let 3.4.x handle the compilation of this one
KERNEL_CCSUFFIX = "-3.4.4"

ARCH = "arm"

FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"

do_configure_prepend() {
	sed -i 's:\(#include "modpost.h"\):\1\n#include <limits.h>:' ${S}/scripts/mod/sumversion.c
	install -m 0644 ${WORKDIR}/defconf_jlime ${S}/.config
}