Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2015 15:25:26 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278960 - in head/sys/modules: if_gif if_gre
Message-ID:  <201502181525.t1IFPQkL031022@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Wed Feb 18 15:25:25 2015
New Revision: 278960
URL: https://svnweb.freebsd.org/changeset/base/278960

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

Modified:
  head/sys/modules/if_gif/Makefile
  head/sys/modules/if_gre/Makefile

Modified: head/sys/modules/if_gif/Makefile
==============================================================================
--- head/sys/modules/if_gif/Makefile	Wed Feb 18 15:25:22 2015	(r278959)
+++ head/sys/modules/if_gif/Makefile	Wed Feb 18 15:25:25 2015	(r278960)
@@ -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>

Modified: head/sys/modules/if_gre/Makefile
==============================================================================
--- head/sys/modules/if_gre/Makefile	Wed Feb 18 15:25:22 2015	(r278959)
+++ head/sys/modules/if_gre/Makefile	Wed Feb 18 15:25:25 2015	(r278960)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502181525.t1IFPQkL031022>