From 0dd6b3e077bba6ab2e15b043baccaa039939a1cb Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Thu, 6 Oct 2011 23:26:21 +0300 Subject: [PATCH] rtl8712-module: add a driver for popular rtl wifi USB adapers According to manufacturer's description, this should support Realtek RTL8712/8188/8191/8192SU. Firmware is compiled into the module. --- recipes/pandora-system/rtl8712-module.bb | 32 ++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 recipes/pandora-system/rtl8712-module.bb diff --git a/recipes/pandora-system/rtl8712-module.bb b/recipes/pandora-system/rtl8712-module.bb new file mode 100644 index 0000000..1fab7cf --- /dev/null +++ b/recipes/pandora-system/rtl8712-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/RTL8192SU_usb_linux_v2.6.6.0.20110401.zip \ +" + +PV = "2.6.6.0" + +S = "${WORKDIR}/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401" + +inherit module + +EXTRA_OEMAKE = " \ + 'KSRC=${STAGING_KERNEL_DIR}' \ + " + +do_unpackpost() { + cd ${WORKDIR} + tar xvf rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401.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}/8712u.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] = "9e3215f535ed580e3380241c73534cea" -- 2.39.2