Author: avos Date: Fri Mar 15 08:21:11 2019 New Revision: 345174 URL: https://svnweb.freebsd.org/changeset/base/345174
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/10/sbin/ifconfig/Makefile Directory Properties: stable/10/ (props changed) Modified: stable/10/sbin/ifconfig/Makefile ============================================================================== --- stable/10/sbin/ifconfig/Makefile Fri Mar 15 08:18:02 2019 (r345173) +++ stable/10/sbin/ifconfig/Makefile Fri Mar 15 08:21:11 2019 (r345174) @@ -39,9 +39,11 @@ SRCS+= sfp.c # SFP/SFP+ information DPADD+= ${LIBM} LDADD+= -lm +.if ${MK_WIRELESS_SUPPORT} != "no" SRCS+= ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support DPADD+= ${LIBBSDXML} ${LIBSBUF} LDADD+= -lbsdxml -lsbuf +.endif SRCS+= carp.c # SIOC[GS]VH support SRCS+= ifgroup.c # ... _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"