summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_gre/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/if_gre/Makefile')
-rw-r--r--sys/modules/if_gre/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/if_gre/Makefile b/sys/modules/if_gre/Makefile
index b7b7089..87da7b0 100644
--- a/sys/modules/if_gre/Makefile
+++ b/sys/modules/if_gre/Makefile
@@ -5,6 +5,7 @@
KMOD= if_gre
SRCS= if_gre.c ip_gre.c opt_inet.h opt_inet6.h opt_atalk.h
+.if !defined(KERNBUILDDIR)
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
@@ -13,5 +14,6 @@ opt_inet6.h:
opt_atalk.h:
echo "#define NETATALK 1" > ${.TARGET}
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud