clean up wlan.bb
[vuplus_openembedded] / recipes / tasks / task-vuplus-wlan.bb
1 DESCRIPTION = "Vuplus: W-LAN Task for the Vuplus Distribution"
2 SECTION = "vuplus/base"
3 LICENSE = "MIT"
4 PR = "r6"
5
6 inherit task
7
8 #
9 # task-vuplus-wlan
10 #
11 DESCRIPTION_${PN} = "Vuplus: W-LAN Support"
12 DEPENDS_${PN} = "enigma2-plugins"
13 RDEPENDS_${PN} = "\
14   ${@base_contains("MACHINE_FEATURES", "vuwlan", "enigma2-plugin-systemplugins-wirelesslansetup", "enigma2-plugin-systemplugins-wirelesslan", d)} \
15   wireless-tools \
16   wpa-supplicant \
17 "
18
19 WLAN_CRYPTO_MODULES = "\
20 "
21
22 WLAN_PCI_MODULES = "\
23   kernel-module-ath5k \
24 "
25
26 WLAN_USB_MODULES = "\
27   kernel-module-rt73usb \
28   kernel-module-zd1211rw \
29   rt73-firmware \
30   zd1211-firmware \
31   r8192cu \
32   rt2870sta \
33 "
34
35 WLAN_USB_MODULES_LEGACY = "\
36   zd1211b \
37   wlan-rt73 \
38   r8712u \
39   rt3070 \
40   r8192cu \
41 "
42
43 RDEPENDS_${PN}_append_bm750 = "\
44   ${@base_contains('PREFERRED_VERSION_linux-bm750', '2.6.18', '${WLAN_USB_MODULES_LEGACY}', '${WLAN_CRYPTO_MODULES} ${WLAN_USB_MODULES}', d)} \
45 "
46
47 RDEPENDS_${PN}_append_vusolo = "\
48   ${@base_contains('PREFERRED_VERSION_linux-vusolo', '2.6.18', '${WLAN_USB_MODULES_LEGACY}', '${WLAN_CRYPTO_MODULES} ${WLAN_USB_MODULES}', d)} \
49 "
50
51 RDEPENDS_${PN}_append_vuuno = "\
52   ${@base_contains('PREFERRED_VERSION_linux-vuuno', '2.6.18', '${WLAN_USB_MODULES_LEGACY}', '${WLAN_CRYPTO_MODULES} ${WLAN_USB_MODULES}', d)} \
53 "
54
55 RDEPENDS_${PN}_append_vuultimo = "\
56   ${@base_contains('PREFERRED_VERSION_linux-vuultimo', '2.6.18', '${WLAN_USB_MODULES_LEGACY}', '${WLAN_CRYPTO_MODULES} ${WLAN_USB_MODULES}', d)} \
57 "
58
59 PACKAGE_ARCH = "${MACHINE_ARCH}"
60