summaryrefslogtreecommitdiff
path: root/package/wtools/wtools.mk
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-11-18 14:45:27 +0000
committerNed Ludd <solar@gentoo.org>2004-11-18 14:45:27 +0000
commit243c9fd4a8c02c8a76ea5cdbba18983c233b6031 (patch)
treee5b7b923831a1f317e447182115a76940613fbf2 /package/wtools/wtools.mk
parent35bb510b1edd956e6dd637f93283e74960a70d02 (diff)
wireless-tools update from Jean Tourrilhes. uclibc mailing list
Diffstat (limited to 'package/wtools/wtools.mk')
-rw-r--r--package/wtools/wtools.mk17
1 files changed, 14 insertions, 3 deletions
diff --git a/package/wtools/wtools.mk b/package/wtools/wtools.mk
index 497a1083a..78da5a889 100644
--- a/package/wtools/wtools.mk
+++ b/package/wtools/wtools.mk
@@ -3,9 +3,20 @@
# wtools - Wireless Tools
#
#############################################################
-WTOOLS_VER:=26
+
+# Pick your version of the Wireless Tools
+# v26 -> obsolete ; won't compile with proper WE because $(KERNEL_SRC) not set
+#WTOOLS_VER:=26
+#WTOOLS_SUBVER:=
+# v27 -> latest stable ; multi WE
+#WTOOLS_VER:=27
+#WTOOLS_SUBVER:=
+# v28.pre1 -> latest
+WTOOLS_VER:=28
+WTOOLS_SUBVER:=.pre1
+
WTOOLS_SOURCE_URL:=http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
-WTOOLS_SOURCE:=wireless_tools.$(WTOOLS_VER).tar.gz
+WTOOLS_SOURCE:=wireless_tools.$(WTOOLS_VER)$(WTOOLS_SUBVER).tar.gz
WTOOLS_BUILD_DIR=$(BUILD_DIR)/wireless_tools.$(WTOOLS_VER)
$(DL_DIR)/$(WTOOLS_SOURCE):
@@ -20,7 +31,7 @@ $(WTOOLS_BUILD_DIR)/.configured: $(WTOOLS_BUILD_DIR)/.unpacked
$(WTOOLS_BUILD_DIR)/iwconfig: $(WTOOLS_BUILD_DIR)/.configured
$(MAKE) -C $(WTOOLS_BUILD_DIR) \
- CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
+ CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS) -I." \
BUILD_SHARED=y # may want to make this an option
$(TARGET_DIR)/sbin/iwconfig: $(WTOOLS_BUILD_DIR)/iwconfig