aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/prism54/prism54-module_1.2.bb
blob: 5d21364e535a35fba729995763d4b446f906d84e (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
DESCRIPTION = "Linux Driver for the 802.11g Prism GT / Prism Duette / Prism Indigo Chipsets"
SECTION = "base"
PRIORITY = "optional"
HOMEPAGE = "http://prism54.org"
LICENSE = "GPL"
RDEPENDS_${PN} = "kernel-${KERNEL_VERSION} prism54-firmware (= 1.0.3.0) hotplug"
RRECOMMENDS_${PN} = "kernel-module-firmware-class"
DEPENDS = "virtual/kernel prism54-firmware"
PR = "r2"

SRC_URI = "http://prism54.org/pub/linux/testing/tars/2004-06/prism54-1.2.tar.bz2"

SRC_URI[md5sum] = "dabaf02dd25a09efbc71755909cd4ef4"
SRC_URI[sha256sum] = "d7d191acdc65c163f64f1f72f8e7c96570a5c69d1ba1ad4f28dd8a1a1645b957"

S = "${WORKDIR}/prism54-${PV}"

inherit module-base

# Hack Alert :D
ARCH_mipsel = "mips"

EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR} KMISC=${D}${base_libdir}/modules/${KERNEL_VERSION}/net KVER=${KERNEL_VERSION}"

do_compile() {
	unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
	oe_runmake modules
}

do_install() {
	unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
	oe_runmake install

}

FILES_${PN} = "/lib/modules/"