Remove warning messages.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-connectivity / ralink / rt3070_2.5.0.3.bb
1 SUMMARY = "Driver for Ralink RT8070/3070/3370/5370/5372 USB 802.11abgn WiFi sticks"
2 SECTION = "kernel/modules"
3 LICENSE = "GPLv2+"
4 LIC_FILES_CHKSUM = "file://os/linux/rt_linux.c;endline=25;md5=21ed2a5918a3062a6c0323ef549f0803"
5 PR = "r5"
6
7 SRC_URI = " \
8         http://sources.dreamboxupdate.com/download/sources/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V${PV}_DPO.tar.bz2 \
9         file://makefile.patch \
10         file://config.patch \
11         file://change_device_name_wlan_from_ra.patch \
12 "
13 SRC_URI[md5sum] = "8ea0d247ac5881de1cb4c113ebf65724"
14 SRC_URI[sha256sum] = "e732d6b114137aa0badf46281d25d442278639d798735317b0061d3ae573593e"
15
16 S = "${WORKDIR}/2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V${PV}_DPO"
17
18 inherit module
19
20 EXTRA_OEMAKE = "LINUX_SRC=${STAGING_KERNEL_DIR}"
21
22 do_install() {
23         install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless
24         install -m 0644 ${S}/*sta${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless
25         install -d ${D}${sysconfdir}/modprobe.d
26         touch ${D}${sysconfdir}/modprobe.d/blacklist-wlan.conf
27         echo "blacklist rt2800usb" >> ${D}${sysconfdir}/modprobe.d/blacklist-wlan.conf
28         echo "blacklist rt2800lib" >> ${D}${sysconfdir}/modprobe.d/blacklist-wlan.conf
29 }
30
31 FILES_${PN} = "${sysconfdir}"