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>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to