1 DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros chip sets"
5 RDEPENDS = "kernel (${KERNEL_VERSION})"
6 DEPENDS = "virtual/kernel"
9 SRC_URI = "http://snapshots.madwifi.org/${PN}/${PN}-${PV}.tar.gz \
10 file://10-xscale-be-elf-copts.patch;patch=1 \
11 file://10-xscale-le-elf-copts.patch;patch=1 \
12 file://10-sh4-le-elf-copts.patch;patch=1"
14 SRC_URI_slugos = "http://snapshots.madwifi.org/${PN}/${PN}-${PV}.tar.gz \
15 file://slugos-xscale-be-elf-copts.patch;patch=1 \
16 file://slugos-xscale-le-elf-copts.patch;patch=1 \
17 file://slugos-VFP-wackelf.patch;patch=1"
19 S = "${WORKDIR}/${PN}-${PV}"
23 EXTRA_OEMAKE = "LDFLAGS= KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX}"
25 EXTRA_OEMAKE_prepend_ixp4xx = "TARGET=xscale-${SITEINFO_ENDIANESS}-elf "
32 install -d ${STAGING_INCDIR}/${PN}/include
33 install -d ${STAGING_INCDIR}/${PN}/net80211
34 cp --dereference include/compat.h ${STAGING_INCDIR}/${PN}/include/
35 cp --dereference net80211/*.h ${STAGING_INCDIR}/${PN}/net80211/
39 install -d ${D}${sbindir}
40 oe_runmake DESTDIR=${D} BINDIR=${sbindir} install
44 if test "x$D" != "x"; then
51 PACKAGES = "${PN}-modules ${PN}-tools"
52 FILES_${PN}-modules = "/lib/modules/"
53 FILES_${PN}-tools = "/usr/"