blob: cc39c739257e867f89c6edbb78cec69f6943b5cf (
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
29
30
31
32
33
34
35
|
SECTION = "kernel"
DESCRIPTION = "JLime Linux kernel for Arm based Jornada 7xx"
LICENSE = "GPLv2"
PR = "r0"
COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = "jornada7xx"
SRC_URI = "file://defconf_jlime"
S = "${WORKDIR}/linux-hpc"
inherit kernel
ARCH = "arm"
FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
do_fetch () {
cd ${WORKDIR}
[ -d linux-hpc ] && {
cd linux-hpc
git pull
} || {
git clone git://git.kernel.org/pub/scm/linux/kernel/git/kristoffer/linux-hpc.git
cd linux-hpc
# written individual do_fetch function because I don't know how to do this in SRC_URI:
git-checkout --track -b v2.6.32-hpc origin/v2.6.32-hpc
git-checkout v2.6.32-hpc
}
}
do_configure_prepend() {
install -m 0644 ${WORKDIR}/defconf_jlime ${S}/.config
}
|