aboutsummaryrefslogtreecommitdiffstats
path: root/packages/madwifi
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-04-25 20:26:01 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-25 20:26:01 +0000
commitbecf31e4182ec578e092ec52b45bdcffbbeab677 (patch)
tree0ef75adcd8611642860de2651b6269a46e6f7da4 /packages/madwifi
parent65b2d1a4d6c9076695d38b53f24a62020c816ee0 (diff)
downloadopenembedded-becf31e4182ec578e092ec52b45bdcffbbeab677.tar.gz
madwifi: Renamed to madwifi-ng (which emits -modules and -tools) and now stages include files for wpa-supplicant to use.
Diffstat (limited to 'packages/madwifi')
-rw-r--r--packages/madwifi/madwifi-ng_r1527-20060425.bb (renamed from packages/madwifi/madwifi-ng-modules_svn.bb)19
1 files changed, 13 insertions, 6 deletions
diff --git a/packages/madwifi/madwifi-ng-modules_svn.bb b/packages/madwifi/madwifi-ng_r1527-20060425.bb
index ae3a499625..aa03b048a2 100644
--- a/packages/madwifi/madwifi-ng-modules_svn.bb
+++ b/packages/madwifi/madwifi-ng_r1527-20060425.bb
@@ -5,13 +5,13 @@ MAINTAINER = "NSLU2 Linux <nslu2-linux@yahoogroups.com>"
LICENSE = "GPL"
RDEPENDS = "kernel (${KERNEL_VERSION})"
DEPENDS = "virtual/kernel"
-PV = "r1527-20060425"
+PR="r0"
-SRC_URI = "http://snapshots.madwifi.org/madwifi-ng/madwifi-ng-${PV}.tar.gz \
+SRC_URI = "http://snapshots.madwifi.org/${PN}/${PN}-${PV}.tar.gz \
file://10-xscale-be-elf-copts.patch;patch=1 \
file://10-xscale-le-elf-copts.patch;patch=1"
-S = "${WORKDIR}/madwifi-ng-${PV}"
+S = "${WORKDIR}/${PN}-${PV}"
inherit module-base
@@ -23,6 +23,13 @@ do_compile() {
oe_runmake all
}
+do_stage() {
+ install -d ${STAGING_INCDIR}/${PN}/include
+ install -d ${STAGING_INCDIR}/${PN}/net80211
+ cp --dereference include/compat.h ${STAGING_INCDIR}/${PN}/include/
+ cp --dereference net80211/*.h ${STAGING_INCDIR}/${PN}/net80211/
+}
+
do_install() {
install -d ${D}${sbindir}
oe_runmake DESTDIR=${D} BINDIR=${sbindir} install
@@ -36,6 +43,6 @@ else
fi
}
-PACKAGES = "madwifi-ng-tools ${PN}"
-FILES_${PN} = "/lib/modules/"
-FILES_madwifi-ng-tools = "/usr/"
+PACKAGES = "${PN}-modules ${PN}-tools"
+FILES_${PN}-modules = "/lib/modules/"
+FILES_${PN}-tools = "/usr/"