This commit provides a 2.6.37 kernel with GTA01 support in order to
allow working SHR images to be built for the device.

Signed-off-by: Bob Ham <r...@bash.sh>
---
 meta-openmoko/conf/machine/om-gta01.conf           |    2 +-
 .../recipes-kernel/linux/linux-om-git_2.6.37.bb    |   19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)
 create mode 100644 meta-openmoko/recipes-kernel/linux/linux-om-git_2.6.37.bb

diff --git a/meta-openmoko/conf/machine/om-gta01.conf 
b/meta-openmoko/conf/machine/om-gta01.conf
index 368c318..e31dc03 100644
--- a/meta-openmoko/conf/machine/om-gta01.conf
+++ b/meta-openmoko/conf/machine/om-gta01.conf
@@ -6,7 +6,7 @@
 
 TARGET_ARCH = "arm"
 
-PREFERRED_PROVIDER_virtual/kernel ?= "linux-openmoko"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-om-git"
 PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
 PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
 
diff --git a/meta-openmoko/recipes-kernel/linux/linux-om-git_2.6.37.bb 
b/meta-openmoko/recipes-kernel/linux/linux-om-git_2.6.37.bb
new file mode 100644
index 0000000..1b439e6
--- /dev/null
+++ b/meta-openmoko/recipes-kernel/linux/linux-om-git_2.6.37.bb
@@ -0,0 +1,19 @@
+require linux.inc
+require linux-openmoko.inc
+
+KERNEL_BASE = "2.6.37"
+PV = "${KERNEL_BASE}-om-git"
+OM-PR = "1"
+PR = "r1"
+
+SRCREV = "c07bd69719b805852e24783aec08db4edcdb767d"
+SRC_URI = "git://git.openmoko.org/git/kernel.git;protocol=git;branch=om-${PV}"
+
+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
+}
-- 
1.7.2.5

_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to