meta-*: use SUMMARY instead of DESCRIPTION where appropriate (max. 80 chars)
[opendreambox.git] / meta-opendreambox / recipes-connectivity / tasks / task-opendreambox-wlan.bb
1 SUMMARY = "OpenDreambox: WLAN support"
2 SECTION = "opendreambox/base"
3 LICENSE = "MIT"
4 LIC_FILES_CHKSUM = "file://${OPENDREAMBOX_BASE}/LICENSE;md5=0a5ec7423edaca24547634f416478834"
5 DEPENDS = " \
6   ${@base_contains('MACHINE_FEATURES', 'pci', 'madwifi-ng', '',d)} \
7   ${@base_version_less_or_equal('DREAMBOX_KERNEL_VERSION', '2.6.18', '${WLAN_USB_MODULES_LEGACY}', '', d)} \
8   virtual/kernel \
9 "
10 PR = "r13"
11
12 inherit task
13
14 PACKAGE_ARCH = "${MACHINE_ARCH}"
15
16 RDEPENDS_${PN} = " \
17   wireless-tools \
18   wpa-supplicant \
19   ${@base_contains('MACHINE_FEATURES', 'pci', '${WLAN_PCI_MODULES}', '${WLAN_USB_MODULES}', d)} \
20 "
21
22 RSUGGESTS_${PN} = " \
23   ${@base_contains('MACHINE_FEATURES', 'pci', '${WLAN_USB_MODULES}', '', d)} \
24 "
25
26 WLAN_USB_MODULES_KERNEL = " \
27   kernel-module-carl9170 \
28   kernel-module-r8712u \
29   kernel-module-rt2800usb \
30   kernel-module-rt73usb \
31   kernel-module-zd1211rw \
32 "
33 WLAN_USB_MODULES_LEGACY = " \
34   r8712u \
35   rt3070 \
36   wlan-rt73 \
37   zd1211b \
38 "
39 WLAN_PCI_MODULES = " \
40   madwifi-ng-modules \
41   madwifi-ng \
42 "
43 WLAN_USB_MODULES = " \
44   ${@base_version_less_or_equal('DREAMBOX_KERNEL_VERSION', '2.6.18', '${WLAN_USB_MODULES_LEGACY}', '${WLAN_USB_MODULES_KERNEL}', d)} \
45 "