From 5b470501bea9fa75f31330ef9576b0d05a142e83 Mon Sep 17 00:00:00 2001 From: Bruno Randolf Date: Tue, 21 Dec 2004 11:43:42 +0000 Subject: 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 --- packages/madwifi/madwifi-modules_cvs.bb | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'packages/madwifi/madwifi-modules_cvs.bb') 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 " +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/" -- cgit v1.2.3