From 5ec3257602e508f61f925b89899ac148ebbd591e Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 18 Feb 2015 15:25:25 +0000 Subject: [PATCH] Clean up a bit of the INET/INET6 mess wrt options. --- sys/modules/if_gif/Makefile | 10 ++-------- sys/modules/if_gre/Makefile | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile index 3b3a172db753..4767ea65c353 100644 --- a/sys/modules/if_gif/Makefile +++ b/sys/modules/if_gif/Makefile @@ -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 diff --git a/sys/modules/if_gre/Makefile b/sys/modules/if_gre/Makefile index b1d370a47ced..bb8ed0583fc4 100644 --- a/sys/modules/if_gre/Makefile +++ b/sys/modules/if_gre/Makefile @@ -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