[oe] [PATCH] add the openmoko git kernel stable branch to fso/milestone5

Angus Ainslie nytowl at openmoko.org
Tue Feb 24 20:41:33 UTC 2009


Round 3 per Mickey's and Koen's sugestions

Angus


---
 conf/distro/include/sane-srcrevs.inc        |    1 +
 packages/linux/linux-openmoko-stable_git.bb |   33 +++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 1 deletions(-)                             
 create mode 100644 packages/linux/linux-openmoko-stable_git.bb                

diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc
index 2f4e913..328e612 100644                                                           
--- a/conf/distro/include/sane-srcrevs.inc                                              
+++ b/conf/distro/include/sane-srcrevs.inc                                              
@@ -97,6 +97,7 @@ SRCREV_pn-linux-ixp4xx ?= "1085"                                      
 SRCREV_pn-linux-openmoko-2.6.24 ?= "fb42ce6724576fc173faf8abfb04aa2c36d213b7"          
 SRCREV_pn-linux-openmoko-2.6.28 ?= "34240a1c06ae36180dee695aa25bbae869b2aa26"          
 SRCREV_pn-linux-openmoko-devel ?= "34240a1c06ae36180dee695aa25bbae869b2aa26"           
+SRCREV_pn-linux-openmoko-stable ?= "0e5fe639e234cdeb11d8441f19c5b3109a8b6a17"          
 SRCREV_pn-linux-eten ?= "ab2d414f4f13816af0ec0401b608133ca946624a"                     
 SRCREV_pn-llvm-gcc4 ?= "374"                                                           
 SRCREV_pn-llvm-gcc4-cross ?= "374"                                                     
diff --git a/packages/linux/linux-openmoko-stable_git.bb b/packages/linux/linux-openmoko-stable_git.bb
new file mode 100644                                                                                  
index 0000000..a7b74b8                                                                                
--- /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}
+}
+
--
1.5.6.5





More information about the Openembedded-devel mailing list