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

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

DEFAULT_PREFERENCE = "-1"
KERNEL_RELEASE = "2.6.29"
KERNEL_VERSION = "2.6.29-rc3-drm"

OMV = "oe15"
PV = "${KERNEL_RELEASE}-drm-${OMV}+gitr${SRCREV}"
PR = "r4"

SRC_URI = "\
  git://git.openmoko.org/git/kernel.git;protocol=git;branch=drm-tracking \
  file://fix-install.patch;patch=1 \
  file://0001-Add-drm-to-Makefile-version.patch;patch=1 \
  file://0001-Fix-s3c-adc-suspend.patch;patch=1 \
  file://0002-GTA01-GTA02-disable-android-drivers-in-default-confi.patch;patch=1 \
  file://0003-glamo-spi-missing-semicolon-after-MODULE_AUTHOR.patch;patch=1 \
  file://0004-gta02_drm_defconfig-start-from-gta02_packaging_defco.patch;patch=1 \
  file://0005-Enable-DRM-and-MFD_GLAMO_DRM.patch;patch=1 \
  file://0006-Enable-I2C_ALGOBIT-from-make-oldconfig.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_drm_defconfig"
CONFIG_NAME_om-gta03 = "gta03_defconfig"

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