svn commit: r344748 - head/sbin/ifconfig
Andriy Voskoboinyk
avos at FreeBSD.org
Mon Mar 4 03:47:07 UTC 2019
Author: avos
Date: Mon Mar 4 03:47:06 2019
New Revision: 344748
URL: https://svnweb.freebsd.org/changeset/base/344748
Log:
Allow to build ifconfig(8) without wireless support
The change removes SIOC[GS]IEEE80211 handling from ifconfig(8)
if WITHOUT_WIRELESS_SUPPORT=yes is set in src.conf(5).
Reviewed by: bz
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D19289
Modified:
head/sbin/ifconfig/Makefile
Modified: head/sbin/ifconfig/Makefile
==============================================================================
--- head/sbin/ifconfig/Makefile Mon Mar 4 03:38:43 2019 (r344747)
+++ head/sbin/ifconfig/Makefile Mon Mar 4 03:47:06 2019 (r344748)
@@ -39,8 +39,10 @@ SRCS+= ifipsec.c # IPsec VTI
SRCS+= sfp.c # SFP/SFP+ information
LIBADD+= m
+.if ${MK_WIRELESS_SUPPORT} != "no"
SRCS+= ifieee80211.c # SIOC[GS]IEEE80211 support
LIBADD+= 80211
+.endif
SRCS+= carp.c # SIOC[GS]VH support
SRCS+= ifgroup.c # ...
More information about the svn-src-all
mailing list