Clean up a bit of the INET/INET6 mess wrt options.

This commit is contained in:
Warner Losh 2015-02-18 15:25:25 +00:00
parent 88030a5eb0
commit 5ec3257602
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278960
2 changed files with 4 additions and 16 deletions

View File

@ -7,13 +7,7 @@ SYSDIR?=${.CURDIR}/../..
KMOD= if_gif
SRCS= if_gif.c opt_inet.h opt_inet6.h
.if ${MK_INET_SUPPORT} != "no"
SRCS+= in_gif.c
.endif
.if ${MK_INET6_SUPPORT} != "no"
SRCS+= in6_gif.c
.endif
SRCS.INET=in_gif.c
SRCS.INET6=in6_gif.c
.include <bsd.kmod.mk>

View File

@ -6,13 +6,7 @@ SYSDIR?=${.CURDIR}/../..
KMOD= if_gre
SRCS= if_gre.c opt_inet.h opt_inet6.h
.if ${MK_INET_SUPPORT} != "no"
SRCS+= ip_gre.c
.endif
.if ${MK_INET6_SUPPORT} != "no"
SRCS+= ip6_gre.c
.endif
SRCS.INET= ip_gre.c
SRCS.INET6= ip6_gre.c
.include <bsd.kmod.mk>