SECTION = "base"
LICENSE = "GPL"

SRCDATE = "20080116"

SRC_URI = "http://download.berlios.de/at76c503a/at76_usb-0.17.tar.gz"
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
}