summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-openmoko-2.6.31_git.bb
blob: e801a5c07a99ff3bf31317bbca08d126e52e4e9c (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
36
require linux.inc
require linux-openmoko.inc

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

KERNEL_RELEASE = "2.6.31"
KERNEL_VERSION = "${KERNEL_RELEASE}"

OEV = "oe1"
PV = "${KERNEL_RELEASE}-${OEV}+gitr${SRCREV}"
PR = "r6"

SRC_URI = "\
  git://git.openmoko.org/git/kernel.git;protocol=git;branch=om-2.6.31 \
# build fix
  file://0001-wm8753-fix-build-with-gcc-4.4.2-which-works-ok-with-.patch;patch=1 \
# patches from Weiss's gdrm-2.6.31 branch
  file://0001-DRM-for-platform-devices.patch;patch=1 \
  file://0002-Glamo-DRM-and-KMS-driver.patch;patch=1 \
  file://0003-Work-on-Glamo-core-for-DRM.patch;patch=1 \
  file://0004-Add-JBT6k74-hook-for-use-by-KMS.patch;patch=1 \
# enable UBI+DRM+NFS+INOTIFY_USER
  file://0004-gta02_defconfig-Enable-UBI-support.patch;patch=1 \
  file://0005-gta02_defconfig-Enable-UBI-debug.patch;patch=1 \
  file://0001-gta02_defconfig-Enable-GLAMO_DRM.patch;patch=1 \
  file://0006-gta02-defconfig-enable-NFS-and-INOTIFY_USER.patch \
"

S = "${WORKDIR}/git"

CONFIG_NAME_om-gta01 = "gta01_defconfig"
CONFIG_NAME_om-gta02 = "gta02_defconfig"

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