[oe] [PATCH] Added recipe for Ralink rt2570-k2wrlz-1.6.4 WiFi USB driver

Elvis Dowson elvis.dowson at mac.com
Mon Jun 8 17:15:40 UTC 2009


Hi,
	Here is a patch for the ralink 1.6.4 driver. I've added the checksum  
entry and added the bitbake recipe.

Best regards,

Elvis Dowson


 From b4346275d30e29779decbc65e060510719c30652 Mon Sep 17 00:00:00 2001
From: Elvis Dowson <elvis,dowson at gmail.com>
Date: Mon, 8 Jun 2009 21:10:30 +0400
Subject: [PATCH] Added recipe for Ralink rt2570-k2wrlz-1.6.4 WiFi USB  
driver

---
  conf/checksums.ini                    |    4 ++++
  recipes/rt2x00/rt2570-k2wrlz_1.6.4.bb |   27 ++++++++++++++++++++++++ 
+++
  2 files changed, 31 insertions(+), 0 deletions(-)
  create mode 100644 recipes/rt2x00/rt2570-k2wrlz_1.6.4.bb

diff --git a/conf/checksums.ini b/conf/checksums.ini
index 9a47979..eac5093 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -21022,6 +21022,10 @@  
sha256=31248ac19b7935638c373aeced6187262a440d195dabfef6128845b4b16bee6c
  md5=87947cf1868ac37d4d756f3585dbf1e6
   
sha256=11d2c4a1b69a4b2b49811128a41c33f25c71e590b019ace392761598ca3d419f

+[http://homepages.tu-darmstadt.de/~p_larbig/wlan/rt2570-k2wrlz-1.6.4.tar.bz2 
]
+md5=21f6e873ad7ee34843dbcd1204f9eda3
+sha256=5b2d382504d0aee14cf24f0eb3c483a79c712f8aa1ca027a7d4425891f1bb2ec
+
  [http://folks.o-hand.com/sameo/rt2860/rt2860-1.7.0.0.tar.bz2]
  md5=9ba1b8fdc9726931d5820226d48b9a33
   
sha256=1d8fb8980025a0126520bb8f92dd0a5ce59c72e10889323212d3b4fd5496390a
diff --git a/recipes/rt2x00/rt2570-k2wrlz_1.6.4.bb b/recipes/rt2x00/ 
rt2570-k2wrlz_1.6.4.bb
new file mode 100644
index 0000000..98fe660
--- /dev/null
+++ b/recipes/rt2x00/rt2570-k2wrlz_1.6.4.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Enhanced Driver for Ralink rt2570 USB 802.11g WiFi  
sticks"
+HOMEPAGE = "http://homepages.tu-darmstadt.de/~p_larbig/wlan"
+SECTION = "kernel/modules"
+LICENSE = "GPL"
+
+PR = "r1"
+
+SRC_URI = "http://homepages.tu-darmstadt.de/~p_larbig/wlan/${PN}-$ 
{PV}.tar.bz2"
+
+inherit module
+
+S = "${WORKDIR}/${PN}-${PV}/Module/"
+
+do_compile_prepend_arm () {
+  MAKE_TARGETS="arm"
+}
+
+do_compile() {
+  export KERNDIR=${STAGING_KERNEL_DIR}
+  module_do_compile
+}
+
+do_install() {
+	install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra
+	install -m 0644 rt2570${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/ 
modules/${KERNEL_VERSION}/extra/
+}
+
-- 
1.6.0.3





More information about the Openembedded-devel mailing list