Date: Mon, 28 Jul 2008 12:10:04 GMT From: "Igor Mozolevsky" <igor@hybrid-lab.co.uk> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/125551: [PATCH] building WLAN userland should be optional Message-ID: <200807281210.m6SCA4ch087803@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/125551; it has been noted by GNATS. 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 Date: Mon, 28 Jul 2008 13:04:37 +0100 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?200807281210.m6SCA4ch087803>