From 3e6b7f86f277370422b098c4f9921f3f8108a241 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Fri, 7 Oct 2011 16:31:11 +0300 Subject: [PATCH] rtl8192u-module: add a driver for yet more rtl wifi USB adapers This one is for RTL8188CU*, RTL8188RU, RTL8192CU and some others, according to manufacturer. --- recipes/pandora-system/rtl8192u-module.bb | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 recipes/pandora-system/rtl8192u-module.bb diff --git a/recipes/pandora-system/rtl8192u-module.bb b/recipes/pandora-system/rtl8192u-module.bb new file mode 100644 index 0000000..a7cc542 --- /dev/null +++ b/recipes/pandora-system/rtl8192u-module.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "Kernel driver for the Realtek RTL8712/8188/8191/8192SU USB chipsets" +LICENSE = "GPLv2" + +SRC_URI = " \ + http://notaz.gp2x.de/downloads/misc/RTL8192CU_linux_v3.1.2590.20110922.zip \ +" + +PV = "3.1.2590" + +S = "${WORKDIR}/rtl8192_8188CU_linux_v3.1.2590.20110922" + +inherit module + +EXTRA_OEMAKE = " \ + 'KSRC=${STAGING_KERNEL_DIR}' \ + " + +do_unpackpost() { + cd ${WORKDIR} + tar xvf RTL8192CU_8188CUS_8188CE-VAU_linux_v3.1.2590.20110922/driver/rtl8192_8188CU_linux_v3.1.2590.20110922.tar.gz +} + +addtask unpackpost after do_unpack before do_patch + +do_install() { + install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/updates/kernel/drivers/net/wireless + install -m 0644 ${S}/8192cu.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/updates/kernel/drivers/net/wireless/ +} + +FILES_${PN} += "/lib/modules/${KERNEL_VERSION}/updates/kernel/drivers/net/wireless/*.ko.*" + +SRC_URI[md5sum] = "2106588b000653d2168a9ec01889dd69" -- 2.39.2