summaryrefslogtreecommitdiffstats
path: root/meta/packages/rt2860/rt2860_1.7.0.0.bb
blob: fa7ab1c7ffebeffe3b0501cc2b482672251b6b5e (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
25
26
27
28
29
DESCRIPTION = "Driver for the 802.11n RaLink rt2860 chipset"
PRIORITY = "optional"
SECTION = "kernel/modules"
LICENSE = "GPL"
PR = "r3"

SRC_URI = "http://folks.o-hand.com/sameo/rt2860/rt2860-1.7.0.0.tar.bz2 \
           file://01_dev_get_by_name.patch;patch=1 \
           file://02_wpa-fix.patch;patch=1 \
           file://03-iwe_stream_add.patch;patch=1 \
           file://04-pci_name.patch;patch=1 \
           file://05-iwpriv.patch;patch=1"

S = "${WORKDIR}/rt2860-1.7.0.0"

COMPATIBLE_MACHINE = "netbook"

inherit module

EXTRA_OEMAKE = "'CC=${KERNEL_CC}' \
                'LD=${KERNEL_LD}' \
                'KDIR=${STAGING_KERNEL_DIR}'"

MODULES = "rt2860"

do_install() {
        install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless
        install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless
}