summaryrefslogtreecommitdiff
path: root/packages/madwifi
diff options
context:
space:
mode:
authorBruno Randolf <br1@subnet.at>2004-12-21 11:43:42 +0000
committerBruno Randolf <br1@subnet.at>2004-12-21 11:43:42 +0000
commit5b470501bea9fa75f31330ef9576b0d05a142e83 (patch)
treeed47184f7689796a3bf9d9f2469dc3461cfe6667 /packages/madwifi
parent0d0f5a40443ea8fcdc6e711f260ecb9203eb543b (diff)
Merge http://oe-devel@oe-devel.bkbits.net/openembedded
into null.(none):/data/mtx/oe/openembedded 2004/12/21 12:31:12+01:00 (none)!br1 set version to cvs${CVSDATE} in madwifi and prism54 cvs modules 2004/12/21 12:29:45+01:00 (none)!br1 make perl config.sh-mipsel-linux more similar to the arm version so we don't break each others builds all the time adapt perl .bb for inclusion of ${TARGET_ARCH}-${TARGET_OS} in the library path BKrev: 41c80c6eO86ra03tCNAY42zMPCU30w
Diffstat (limited to 'packages/madwifi')
-rw-r--r--packages/madwifi/madwifi-modules_cvs.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/madwifi/madwifi-modules_cvs.bb b/packages/madwifi/madwifi-modules_cvs.bb
index e69de29bb2..a61b937f31 100644
--- a/packages/madwifi/madwifi-modules_cvs.bb
+++ b/packages/madwifi/madwifi-modules_cvs.bb
@@ -0,0 +1,38 @@
+DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros chip sets"
+SECTION = "base"
+PRIORITY = "optional"
+MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
+LICENSE = "GPL"
+RDEPENDS = "kernel (${KERNEL_VERSION})"
+DEPENDS = "virtual/kernel"
+PV = "cvs${CVSDATE}"
+
+SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/madwifi;module=madwifi"
+
+S = "${WORKDIR}/madwifi"
+
+inherit module-base
+
+# Hack Alert :D
+ARCH_mipsel = "mips"
+EXTRA_OEMAKE_mtx-1 = "TARGET=mips-le-elf KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX} \
+COPTS='-G 0 -mno-abicalls -fno-pic -Wa,--trap -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls -DATH_PCI'"
+
+do_compile() {
+ oe_runmake
+}
+
+do_install() {
+ oe_runmake DESTDIR=${D} install
+
+}
+
+pkg_postinst() {
+if test "x$D" != "x"; then
+ exit 1
+else
+ depmod -ae
+fi
+}
+
+FILES_${PN} = "/lib/modules/"