Author: avos
Date: Fri Mar 15 08:18:02 2019
New Revision: 345173
URL: https://svnweb.freebsd.org/changeset/base/345173

Log:
  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

Modified:
  stable/11/sbin/ifconfig/Makefile
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/12/sbin/ifconfig/Makefile
Directory Properties:
  stable/12/   (props changed)

Modified: stable/11/sbin/ifconfig/Makefile
==============================================================================
--- stable/11/sbin/ifconfig/Makefile    Fri Mar 15 07:34:06 2019        
(r345172)
+++ stable/11/sbin/ifconfig/Makefile    Fri Mar 15 08:18:02 2019        
(r345173)
@@ -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               # ...
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to