summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-openmoko-shr-devel_git.bb
blob: 2a61a95443df75d32eadc4f3b1930605aaa83cff (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
require linux.inc
require linux-openmoko.inc

DESCRIPTION_${PN} = "Linux ${KERNEL_VERSION} kernel for the Openmoko Neo GSM Smartphones"

KERNEL_RELEASE = "2.6.29"
KERNEL_VERSION = "2.6.29-rc3"

OMV = "oe11"
PV = "${KERNEL_RELEASE}-${OMV}+gitr${SRCREV}"
PR = "r6"

SRC_URI = "\
  git://git.openmoko.org/git/kernel.git;protocol=git;branch=andy-tracking \
  file://fix-install.patch;patch=1 \
  file://0007-Enable-UBI-UBIFS.patch;patch=1 \
"
S = "${WORKDIR}/git"

CONFIG_NAME_om-gta01 = "gta01_moredrivers_defconfig"
CONFIG_NAME_om-gta02 = "gta02_packaging_defconfig"
CONFIG_NAME_om-gta03 = "gta03_defconfig"

do_configure_prepend() { 
	install -m 644 ./arch/arm/configs/${CONFIG_NAME} ${WORKDIR}/defconfig-oe
}