summaryrefslogtreecommitdiff
path: root/prism54/prism54-module_1.2.oe
blob: a4d93931b0c27fdd66cc2cb8404d58d1aba818aa (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
DESCRIPTION = "Linux Driver for the 802.11g Prism GT / Prism Duette / Prism Indigo Chipsets"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
LICENSE = "GPL"
RDEPENDS = "kernel (${KERNEL_VERSION}) kernel-module-firmware-class prism54-firmware hotplug"
DEPENDS = "virtual/kernel"

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

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

inherit module-base

# Hack Alert :D
ARCH_mipsel = "mips"

EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR} KMISC=${D}/lib/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/"