Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/ifconfig Make IEEE802.11 support optional
details: https://anonhg.NetBSD.org/src/rev/fde2e23b8ca9
branches: trunk
changeset: 953221:fde2e23b8ca9
user: martin <martin%NetBSD.org@localhost>
date: Mon Mar 01 16:47:48 2021 +0000
description:
Make IEEE802.11 support optional
diffstat:
sbin/ifconfig/Makefile.common | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 2c9f8036c807 -r fde2e23b8ca9 sbin/ifconfig/Makefile.common
--- a/sbin/ifconfig/Makefile.common Mon Mar 01 15:40:40 2021 +0000
+++ b/sbin/ifconfig/Makefile.common Mon Mar 01 16:47:48 2021 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index