Module Name: src
Committed By: martin
Date: Mon Mar 1 16:47:48 UTC 2021
Modified Files:
src/sbin/ifconfig: Makefile.common
Log Message:
Make IEEE802.11 support optional
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sbin/ifconfig/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/ifconfig/Makefile.common
diff -u src/sbin/ifconfig/Makefile.common:1.5 src/sbin/ifconfig/Makefile.common:1.6
--- src/sbin/ifconfig/Makefile.common:1.5 Tue May 2 20:12:27 2017
+++ src/sbin/ifconfig/Makefile.common Mon Mar 1 16:47:48 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2017/05/02 20:12:27 christos Exp $
+# $NetBSD: Makefile.common,v 1.6 2021/03/01 16:47:48 martin Exp $
# shared stuff with src/distrib/utils/x_ifconfig for install media.
# stuff not required by install media should be into Makefile.
@@ -11,8 +11,11 @@ DPADD+= ${LIBUTIL} ${LIBPROP}
LDADD+= -lutil -lprop
INCS+= af_inetany.h env.h extern.h media.h parse.h util.h
-SRCS+= af_inet.c af_inetany.c env.c ether.c ieee80211.c \
+SRCS+= af_inet.c af_inetany.c env.c ether.c \
ifconfig.c media.c parse.c tunnel.c util.c vlan.c
+.ifndef NOIEEE80211
+SRCS+= ieee80211.c
+.endif
.ifndef SMALLPROG
SRCS+= agr.c l2tp.c
.endif