blob: ba814e2e4d571c7c6c934a29c7d773205a5f92c3 (
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
30
31
32
33
34
35
36
37
38
|
DESCRIPTION = "A driver for wireless LAN cards based on Hermes(Orinoco) cards. \
Also contains support for cards using downloadable firmware, i.e. the Symbol/Socket family."
SECTION = "kernel/modules"
PRIORITY = "optional"
PROVIDES = "spectrum-modules"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
PR = "r3"
# seems to cause problems on arm
DEFAULT_PREFERENCE_arm = "-1"
export EXTRACFLAGS = "-mstructure-size-boundary=32"
SRC_URI = "http://ozlabs.org/people/dgibson/dldwd/orinoco-${PV}.tar.gz \
file://list-move.patch;patch=1 \
file://spectrum-firmware.patch;patch=1 \
file://spectrum.conf \
file://spectrum_fw.h \
file://orinoco_cs.conf"
S = "${WORKDIR}/orinoco-${PV}"
inherit module
do_compile_prepend() {
install ${WORKDIR}/spectrum_fw.h ${S}/
}
do_install() {
install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless
install -d ${D}/etc/pcmcia
install -m 0644 *.o ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/
install -m 0644 ${WORKDIR}/spectrum.conf ${D}/etc/pcmcia/
install -m 0644 hermes.conf ${D}/etc/pcmcia/
install -d ${D}/etc/modutils
install -m 0644 ${WORKDIR}/orinoco_cs.conf ${D}/etc/modutils/
}
|