[oe-commits] Angus Ainslie : Add the stable git version of the openmoko kernel

GIT User account git at amethyst.openembedded.net
Fri Feb 27 17:49:43 UTC 2009


Module: openembedded.git
Branch: fso/milestone5.5
Commit: e072256943b0c83bec6a80acdfe9539a1620ffa9
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e072256943b0c83bec6a80acdfe9539a1620ffa9

Author: Angus Ainslie <angus at builder.(none)>
Date:   Fri Feb 27 10:07:32 2009 -0700

Add the stable git version of the openmoko kernel

---

 packages/linux/linux-openmoko-stable_git.bb |   33 +++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/packages/linux/linux-openmoko-stable_git.bb b/packages/linux/linux-openmoko-stable_git.bb
new file mode 100644
index 0000000..3b700e5
--- /dev/null
+++ b/packages/linux/linux-openmoko-stable_git.bb
@@ -0,0 +1,33 @@
+require linux.inc
+require linux-openmoko.inc
+
+DESCRIPTION_${PN} = "Linux ${KERNEL_RELEASE} kernel for the Openmoko Neo GSM Smartphones"
+
+DEFAULT_PREFERENCE = "-1"
+
+KERNEL_RELEASE = "2.6.28"
+KERNEL_VERSION = "${KERNEL_RELEASE}"
+
+OMV = "stable"
+PV = "${KERNEL_RELEASE}-${OMV}+gitr${SRCREV}"
+PR = "r2"
+
+SRC_URI = "\
+  git://git.openmoko.org/git/kernel.git;protocol=git;branch=stable \
+#  file://defconfig-oe.patch \
+"
+S = "${WORKDIR}/git"
+
+do_configure_prepend() {
+	if [ ${MACHINE} = "om-gta01" ] ; then
+		install -m 644 ./arch/arm/configs/gta01_moredrivers_defconfig ${WORKDIR}/defconfig-oe
+	fi
+	if [ ${MACHINE} = "om-gta02" ] ; then
+		install -m 644 ./arch/arm/configs/gta02_packaging_defconfig ${WORKDIR}/defconfig-oe
+	fi
+	if [ ${MACHINE} = "om-gta03" ] ; then
+		install -m 644 ./arch/arm/configs/gta03_defconfig ${WORKDIR}/defconfig-oe
+	fi
+#	cat ${WORKDIR}/defconfig-oe.patch | patch -p0 -d ${WORKDIR}
+}
+





More information about the Openembedded-commits mailing list