diff options
author | Elvis Dowson <elvis,dowson@gmail.com> | 2010-07-06 22:27:04 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-07-07 11:37:55 -0700 |
commit | c59b050dc1130bf749772f00952c811cc236b7f7 (patch) | |
tree | 57c8887974297c87eae17d9c8c0ac64895f4fc92 /recipes | |
parent | 74e32f114272668dfa4c88805741cf55ef965989 (diff) |
rt2570-k2wrlz_1.6.4.bb: Added recipe for Ralink rt2570-k2wrlz-1.6.4 WiFi USB driver
Signed-off-by: Elvis Dowson <elvis,dowson@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/rt2x00/rt2570-k2wrlz_1.6.4.bb | 29 |
1 files changed, 29 insertions, 0 deletions
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 0000000000..12a034c990 --- /dev/null +++ b/recipes/rt2x00/rt2570-k2wrlz_1.6.4.bb @@ -0,0 +1,29 @@ +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 = "r0" + +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/ +} + +SRC_URI[md5sum] = "21f6e873ad7ee34843dbcd1204f9eda3" +SRC_URI[sha256sum] = "5b2d382504d0aee14cf24f0eb3c483a79c712f8aa1ca027a7d4425891f1bb2ec" |