summaryrefslogtreecommitdiff
path: root/packages/rt2x00/rt2570_1.1.0-b2.bb
blob: a3cc233351770d56269e5481dde1c413218b7a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DESCRIPTION = "Driver for Ralink rt2570 USB 802.11g WiFi sticks"
HOMEPAGE = "http://rt2x00.serialmonkey.com/"
SECTION = "kernel/modules"
LICENSE = "GPL"

SRC_URI = "${SOURCEFORGE_MIRROR}/rt2400/rt2570-${PV}.tar.gz"

inherit module

S = "${WORKDIR}/${PN}-${PV}/Module/"

EXTRA_OEMAKE = "KERNDIR=${STAGING_KERNEL_DIR}"

do_install() {
	install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra
	install -m 0644 rt2570${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra/
}