update driver(duo4k)
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-connectivity / packagegroups / packagegroup-vuplus-wlan.bb
1 DESCRIPTION = "Vuplus: W-LAN package group for the Vuplus Distribution"
2 SECTION = "vuplus/base"
3 LICENSE = "MIT"
4 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5 PR = "r22"
6
7 PACKAGE_ARCH = "${MACHINE_ARCH}"
8
9 inherit packagegroup
10
11 DEPENDS_${PN} = "enigma2"
12 RDEPENDS_${PN} = "\
13         enigma2-plugin-systemplugins-wirelesslansetup \
14         wireless-tools \
15         wpa-supplicant \
16 "
17
18 WIFI_FIRMWARES = "\
19         rt73-firmware \
20         zd1211-firmware \
21         firmware-htc9271 \
22         firmware-rt2561 \
23         firmware-rtl8721u \
24         firmware-rt3070 \
25 "
26
27 KERNEL_WIFI_MODULES = " \
28         kernel-module-ath9k-htc \
29         kernel-module-carl9170 \
30         kernel-module-prism2-usb \
31         kernel-module-rt73usb \
32         kernel-module-rt2500usb \
33         kernel-module-rtl8187 \
34         kernel-module-r8712u \
35         kernel-module-zd1211rw \
36         kernel-module-llc \
37         kernel-module-stp \
38         kernel-module-bridge \
39         kernel-module-hostap \
40         kernel-module-rt2800usb \
41 "
42
43 KERNEL_WIFI_MODULES += "${@base_version_less_or_equal('VUPLUS_KERNEL_VERSION', '3.1.1', 'kernel-module-r8192u-usb', '', d)}"
44 KERNEL_WIFI_MODULES += "${@base_version_less_or_equal('VUPLUS_KERNEL_VERSION', '3.14.28', 'kernel-module-w35und', '', d)}"
45
46 LEGACY_MODULES = " \
47         r8192cu \
48         rt3070 \
49 "
50
51 RDEPENDS_${PN}_append = "\
52         ${WIFI_FIRMWARES} \
53         ${KERNEL_WIFI_MODULES} \
54         ${LEGACY_MODULES} \
55         rt2870sta \
56         ${@base_conditional("MACHINE", "vuultimo4k", "vuplus-wifi-util-vuultimo4k", "", d)} \
57         ${@base_conditional("MACHINE", "vuduo4k", "vuplus-wifi-util-vuduo4k", "", d)} \
58 "
59