aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2015-02-18 15:25:25 +0000
committerWarner Losh <imp@FreeBSD.org>2015-02-18 15:25:25 +0000
commit5ec3257602e508f61f925b89899ac148ebbd591e (patch)
tree5027fd60828ee5facbf05104b9c4c43a213fe224 /sys/modules
parent88030a5eb0a19114d1113142376c69272f063a87 (diff)
Notes
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/if_gif/Makefile10
-rw-r--r--sys/modules/if_gre/Makefile10
2 files changed, 4 insertions, 16 deletions
diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile
index 3b3a172db7531..4767ea65c3535 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 <bsd.kmod.mk>
diff --git a/sys/modules/if_gre/Makefile b/sys/modules/if_gre/Makefile
index b1d370a47ced6..bb8ed0583fc46 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 <bsd.kmod.mk>