diff options
author | Bruno Randolf <br1@subnet.at> | 2004-09-24 15:54:34 +0000 |
---|---|---|
committer | Bruno Randolf <br1@subnet.at> | 2004-09-24 15:54:34 +0000 |
commit | ccf1bb7df496e9527f90be6004aca111c0c66076 (patch) | |
tree | 334cfa85ea1146b12d149f19919d01adcb8602f4 /madwifi/madwifi-modules_cvs.oe | |
parent | 3bb499037693d601a1e22ce299a44e388611f29a (diff) |
madwifi: remove hardcoded toolchain prefix
BKrev: 4154433a4fb8hye7JZtpIvbMLliPiA
Diffstat (limited to 'madwifi/madwifi-modules_cvs.oe')
-rw-r--r-- | madwifi/madwifi-modules_cvs.oe | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/madwifi/madwifi-modules_cvs.oe b/madwifi/madwifi-modules_cvs.oe index e69de29bb2..86cf0b09e4 100644 --- a/madwifi/madwifi-modules_cvs.oe +++ b/madwifi/madwifi-modules_cvs.oe @@ -0,0 +1,36 @@ +DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros chip sets" +SECTION = "net" +PRIORITY = "optional" +MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>" +LICENSE = "GPL" +RDEPENDS = "kernel (${KERNEL_VERSION})" +DEPENDS = "virtual/kernel" + +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=${KERNEL_SOURCE} 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'" + +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/" |