MFC r344748:

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
Differential Revision:	https://reviews.freebsd.org/D19289
This commit is contained in:
Andriy Voskoboinyk 2019-03-15 08:18:02 +00:00
parent 14d9870e76
commit ca066b6f00

View File

@ -39,8 +39,10 @@ SRCS+= ifipsec.c # IPsec VTI
SRCS+= sfp.c # SFP/SFP+ information SRCS+= sfp.c # SFP/SFP+ information
LIBADD+= m LIBADD+= m
.if ${MK_WIRELESS_SUPPORT} != "no"
SRCS+= ifieee80211.c # SIOC[GS]IEEE80211 support SRCS+= ifieee80211.c # SIOC[GS]IEEE80211 support
LIBADD+= 80211 LIBADD+= 80211
.endif
SRCS+= carp.c # SIOC[GS]VH support SRCS+= carp.c # SIOC[GS]VH support
SRCS+= ifgroup.c # ... SRCS+= ifgroup.c # ...