summaryrefslogtreecommitdiff
path: root/recipes/at76c503a/at76c503a-modules_0.17.bb
blob: e0230ded84652d6a2c5e3ab8d30441c194b09704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DESCRIPTION = "Driver for at76 based usb-wifi devices"
SECTION = "base"
LICENSE = "GPL"

PR = "r2"

RDEPENDS = "at76c503-firmware"

SRC_URI = "http://download.berlios.de/at76c503a/at76_usb-0.17.tar.gz"
SRC_URI_ixp4xx = "http://download.berlios.de/at76c503a/at76_usb-0.17.tar.gz \
                  file://at76_usb-0.17-.patch;patch=1"
S = "${WORKDIR}/at76_usb-${PV}/"

inherit module

MODULES = "at76c503 at76_usbdfu at76c503-i3861 at76c503-rfmd at76c503-rfmd-acc \
	at76c505-rfmd at76c503-i3863 at76c505-rfmd2958"

do_install() {
	install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/
	for i in *${KERNEL_OBJECT_SUFFIX}; do
		install -m 0644 $i ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/
	done
}