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