From 47fd32ea069830ca0e1d879e0def5cd6627936c9 Mon Sep 17 00:00:00 2001 From: Bruno Randolf Date: Tue, 26 Apr 2005 12:08:25 +0000 Subject: madwifi: build and package tools BKrev: 426e2f39dRc9Am8ixnIRbXG7eo0sSw --- packages/madwifi/madwifi-modules_cvs.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (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 a61b937f31..f222db83e4 100644 --- a/packages/madwifi/madwifi-modules_cvs.bb +++ b/packages/madwifi/madwifi-modules_cvs.bb @@ -20,11 +20,15 @@ COPTS='-G 0 -mno-abicalls -fno-pic -Wa,--trap -fno-strict-aliasing -fno-common - do_compile() { oe_runmake + cd tools; oe_runmake } do_install() { oe_runmake DESTDIR=${D} install - + install -d ${D}${sbindir} + cd tools; + oe_runmake DESTDIR=${D} BINDIR=${sbindir} install + install -m 755 athchans athctrl athkey ${D}${sbindir} } pkg_postinst() { @@ -35,4 +39,6 @@ else fi } +PACKAGES = "madwifi-tools ${PN}" FILES_${PN} = "/lib/modules/" +FILES_madwifi-tools = "/usr/" -- cgit v1.2.3