1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00

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
This commit is contained in:
Andriy Voskoboinyk 2019-03-04 03:47:06 +00:00
parent 7f74097165
commit 38979c4b45
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344748

View File

@ -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 # ...