Date: Mon, 28 Jul 2008 13:04:37 +0100 From: "Igor Mozolevsky" <igor@hybrid-lab.co.uk> To: freebsd-gnats-submit@freebsd.org Cc: freebsd-bugs@freebsd.org Subject: Re: conf/125551: [PATCH] building WLAN userland should be optional Message-ID: <a2b6592c0807280504q720b6a3dgfee867f2110981b@mail.gmail.com> In-Reply-To: <200807122050.43490.asstec@matik.com.br> References: <200807122152.m6CLqcB6031483@www.freebsd.org> <200807121915.04944.asstec@matik.com.br> <a2b6592c0807121524s67babf9ah766b7ffa3f4b9aa9@mail.gmail.com> <200807122050.43490.asstec@matik.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a2b6592c0807280504q720b6a3dgfee867f2110981b>
