From ee8e7c6ae1f34cf2983123792b6d7342addd849d Mon Sep 17 00:00:00 2001 From: avos Date: Fri, 15 Mar 2019 08:18:02 +0000 Subject: [PATCH] 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 --- sbin/ifconfig/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbin/ifconfig/Makefile b/sbin/ifconfig/Makefile index 54339260039..6dc5268aa9d 100644 --- a/sbin/ifconfig/Makefile +++ b/sbin/ifconfig/Makefile @@ -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 # ... -- 2.45.0