summaryrefslogtreecommitdiff
path: root/recipes/orinoco/orinoco-modules_0.13e.bb
blob: 4f8ca98e0bdca3b3c4c67e97df6ab4660551745c (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
require orinoco-modules.inc

RDEPENDS_orinoco-modules-cs += "orinoco-modules"
PR = "r5"

SRC_URI += "\
           file://crosscompile.patch;patch=1 \
           file://monitor-${PV}.patch;patch=1 \
           file://spectrum.conf \
           file://spectrum_fw.h \
	   file://spectrum_cs.c \
           file://orinoco_cs.conf"
S = "${WORKDIR}/orinoco-${PV}"

do_compile_prepend() {
	cp -f ${WORKDIR}/spectrum* ${S}/
}

do_install() {
        install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/net/
        install -d ${D}${sysconfdir}/pcmcia
        install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/net/
        install -m 0644 ${WORKDIR}/spectrum.conf ${D}${sysconfdir}/pcmcia/
        install -m 0644 hermes.conf ${D}${sysconfdir}/pcmcia/
        install -d ${D}${sysconfdir}/modutils
        install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}${sysconfdir}/modutils/
}

FILES_orinoco-modules-cs = "/lib/modules/${KERNEL_VERSION}/net/*_cs${KERNEL_OBJECT_SUFFIX} /${sysconfdir}"