aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-palmpre_git.bb
blob: 77fd2d2d029d0c47b21c76e6ace9916b8f1f9697 (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
require linux.inc

SECTION = "kernel"
DESCRIPTION = "Modified kernel for the Palm Pre based on the original source from Palm Inc."
KERNEL_IMAGETYPE = "uImage"

SRC_URI = " \
git://git.freesmartphone.org/linux-2.6.git;protocol=git;branch=palmpre/master \
file://defconfig \
"
DEPENDS += "kbd-native"

S = "${WORKDIR}/git/"

SRCREV = "8c5c1664447448f8cfc20353b70dadd4a3228eaa"
KV = "2.6.24"
PR="r4"
PV = "${KV}+gitr${SRCPV}"

# linux.inc overrides LOCAVERSION but we like to stay with the one used originally
do_compile_prepend() {
	sed -i -e '/CONFIG_LOCALVERSION=/d' ${S}/.config
	echo 'CONFIG_LOCALVERSION="-joplin-3430"' >>${S}/.config
}