diff options
Diffstat (limited to 'packages/rt2x00/rt2570-k2wrlz_1.6.1.bb')
-rw-r--r-- | packages/rt2x00/rt2570-k2wrlz_1.6.1.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/rt2x00/rt2570-k2wrlz_1.6.1.bb b/packages/rt2x00/rt2570-k2wrlz_1.6.1.bb new file mode 100644 index 0000000000..78589a5c64 --- /dev/null +++ b/packages/rt2x00/rt2570-k2wrlz_1.6.1.bb @@ -0,0 +1,25 @@ +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" + +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/ +} + |