[oe-commits] Lauro Ramos Venancio : cx3110x-chinooke: Make cx3110x-chinooke use the chinooke's kernel source.

GIT User account git at amethyst.openembedded.net
Thu Oct 23 21:34:46 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: a3542f265dbbe71c797ae28bdebcf0f179c31db5
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a3542f265dbbe71c797ae28bdebcf0f179c31db5

Author: Lauro Ramos Venancio <lauro.venancio at indt.org.br>
Date:   Tue Sep  2 19:01:43 2008 -0300

cx3110x-chinooke: Make cx3110x-chinooke use the chinooke's kernel source.

---

 packages/mamona/cx3110x-chinooke_2.0.15.bb |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/packages/mamona/cx3110x-chinooke_2.0.15.bb b/packages/mamona/cx3110x-chinooke_2.0.15.bb
index ed991dd..50de746 100644
--- a/packages/mamona/cx3110x-chinooke_2.0.15.bb
+++ b/packages/mamona/cx3110x-chinooke_2.0.15.bb
@@ -5,7 +5,7 @@ KERVER = "2.6.21"
 COMPATIBLE_MACHINE = "(nokia800|nokia810)"
 
 S = "${WORKDIR}/cx3110x-module-src-2.0.15"
-SKERNEL = "${WORKDIR}/kernel-source-diablo-${KERVER}/kernel-source"
+SKERNEL = "${WORKDIR}/kernel-source-rx-34-2.6.21.0"
 
 # The following require must be after S{S}, ${SKERNEL}, ${KERVER}
 require cx3110x.inc
@@ -13,13 +13,19 @@ require cx3110x.inc
 SRC_URI += "\
  http://repository.maemo.org/pool/maemo4.1/free/c/cx3110x-module-src/cx3110x-module-src_2.0.15-1.tar.gz \
  http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2005q3-2-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 \
- http://repository.maemo.org/pool/maemo4.1/free/k/kernel-source-diablo/kernel-source-diablo_2.6.21-200823maemo6.tar.gz \
+ http://repository.maemo.org/pool/chinook/free/k/kernel-source-rx-34/kernel-source-rx-34_2.6.21.0.orig.tar.gz \
+ http://repository.maemo.org/pool/chinook/free/k/kernel-source-rx-34/kernel-source-rx-34_2.6.21.0-osso71.diff.gz \
  file://cx3110x.patch;patch=1 \
  file://create_sysfs_link_for_wlan0.patch;patch=1 \
  file://fix_old_include.patch;patch=1 \
 "
 
 do_compile() {
+    cd ${SKERNEL}
+    patch -p1 < ${WORKDIR}/kernel-source-rx-34_2.6.21.0-osso71.diff
+    cd ${S}
     PATH=${WORKDIR}/bin/:$PATH make -C ${SKERNEL} CROSS_COMPILE=arm-none-eabi- nokia_2420_defconfig prepare scripts
     KERNEL_SRC_DIR=${SKERNEL} PATH=${WORKDIR}/bin/:$PATH CROSS_COMPILE=arm-none-eabi- make modules
 }
+
+





More information about the Openembedded-commits mailing list