1 DESCRIPTION
= "Linux driver for 802.11a/b/g universal NIC cards using Atheros chip sets"
5 RDEPENDS_$
{PN
} = "kernel (${KERNEL_VERSION})"
6 DEPENDS
= "virtual/kernel"
8 PV
= "1.0.0+cvs${SRCDATE}"
11 SRC_URI
= "cvs://anonymous@madwifi.cvs.sourceforge.net/cvsroot/madwifi;module=madwifi;date=${SRCDATE}"
13 S
= "${WORKDIR}/madwifi"
19 EXTRA_OEMAKE_mtx
-1 = "TARGET=mips-le-elf KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX} \
20 COPTS='-G 0 -mno-abicalls -fno-pic -Wa,--trap -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls -DATH_PCI'"
21 EXTRA_OEMAKE_mtx
-2 = "TARGET=mips-le-elf KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX} \
22 COPTS='-G 0 -mno-abicalls -fno-pic -Wa,--trap -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls -DATH_PCI'"
30 oe_runmake DESTDIR
=$
{D
} install
31 install
-d $
{D
}/$
{sbindir
}
33 oe_runmake DESTDIR
=$
{D
} BINDIR
=$
{sbindir
} install
34 install
-m
755 athchans athctrl athkey $
{D
}/$
{sbindir
}
38 # hostapd
and wpa_supplicant need these files
39 install
-d $
{STAGING_INCDIR
}/madwifi
/net80211
/ $
{STAGING_INCDIR
}/madwifi
/include
40 install
-m
0644 net80211
/*.h $
{STAGING_INCDIR
}/madwifi
/net80211
/
41 install
-m
0644 include/compat.h $
{STAGING_INCDIR
}/madwifi
/include/
42 cd $
{STAGING_INCDIR
}/madwifi
/net80211
/
43 rm
-f compat.h
; ln -s ../include/compat.h .
47 if test
"x$D" != "x"; then
54 PACKAGES
= "${PN}-dbg madwifi-tools ${PN}"
55 FILES_$
{PN
} = "/lib/modules/"
56 FILES_madwifi
-tools
= "/usr/"