conf/125551: [PATCH] building WLAN userland should be optional
Igor Mozolevsky
igor at hybrid-lab.co.uk
Mon Jul 28 12:04:40 UTC 2008
Ok,
take three:
--- share/mk/bsd.own.mk.orig 2008-07-24 23:06:09.000000000 +0100
+++ share/mk/bsd.own.mk 2008-07-24 23:42:33.000000000 +0100
@@ -358,6 +358,9 @@
TCSH \
TOOLCHAIN \
USB \
+ WLAN \
+ WLANDEBUG \
+ WPA \
WPA_SUPPLICANT_EAPOL \
ZONEINFO \
ZFS
@@ -448,6 +451,11 @@
MK_GDB:= no
.endif
+.if ${MK_WLAN} == "no"
+MK_WPA:= no
+MK_WLANDEBUG:= no
+.endif
+
#
# Set defaults for the MK_*_SUPPORT variables.
#
--- usr.sbin/Makefile.orig 2008-07-24 02:17:16.000000000 +0100
+++ usr.sbin/Makefile 2008-07-24 23:45:48.000000000 +0100
@@ -185,9 +185,9 @@
vipw \
watch \
watchdogd \
- wlandebug \
+ ${_wlandebug} \
${_wlconfig} \
- wpa \
+ ${_wpa} \
${_ypbind} \
${_yp_mkdb} \
${_yppoll} \
@@ -297,6 +297,14 @@
_usbdevs= usbdevs
.endif
+.if ${MK_WLANDEBUG} != "no"
+_wlandebug= wlandebug
+.endif
+
+.if ${MK_WPA} != "no"
+_wpa= wpa
+.endif
+
.if ${MACHINE_ARCH} == "arm"
_kgmon= kgmon
.endif
--- /dev/null 2008-07-24 23:44:00.000000000 +0100
+++ tools/build/options/WITHOUT_WLAN 2008-07-24 23:35:36.000000000 +0100
@@ -0,0 +1 @@
+This option will prevent all userland WLAN utilities from being built.
--- /dev/null 2008-07-24 23:44:00.000000000 +0100
+++ tools/build/options/WITHOUT_WLANDEBUG 2008-07-24 23:35:51.000000000 +0100
@@ -0,0 +1,3 @@
+Setting this variable will prevent
+.Xr wlandebug 8
+from being built.
--- /dev/null 2008-07-24 23:44:00.000000000 +0100
+++ tools/build/options/WITHOUT_WPA 2008-07-24 23:35:58.000000000 +0100
@@ -0,0 +1,5 @@
+Setting this variable will prevent
+.Xr hostapd 8
+and
+.Xr wpa_supplicant 8
+from being built.
More information about the freebsd-bugs
mailing list