Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #55 (closed defect: fixed)

Opened 17 years ago

Last modified 17 years ago

Do not source when building the tools

Reported by: kelmo Assigned to:
Priority: minor Milestone: version 1.0.0 - first stable release
Component: madwifi: tools Version: trunk
Keywords: Cc:
Patch is attached: Pending:


Do not source when building the tools, or else we would needlessly have to satisfy KERNELPATH and other unrelated checks just to build these userspace utilities. This would not be advantageos behaviour when building binary packages for distribution.

Index: tools/Makefile
--- tools/Makefile      (revision 1201)
+++ tools/Makefile      (working copy)
@@ -28,8 +28,32 @@

 BINDIR=        /usr/local/bin

-include ${DEPTH}/
+ifeq ($(obj),)
+obj=   .

+# Path to the HAL source code.
+ifeq ($(HAL),)
+HAL=   ${obj}/${DEPTH}/hal
+# Path to the HAL build area.
+# Path to the 802.11 include files.
+WLAN=  ${DEPTH}/net80211
+# Path to the Atheros device driver.
+ATH=   ${DEPTH}/ath
+INCS=  -include ${obj}/${DEPTH}/include/compat.h -I${obj}/${DEPTH}/include
 ALL=   athstats 80211stats athkey athchans athctrl \
        athdebug 80211debug wlanconfig

Maybe that patch can be improved, but you get the idea.

Change History

10/25/05 16:16:24 changed by br1

  • status changed from new to closed.
  • resolution set to fixed.