summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_gif/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/if_gif/Makefile')
-rw-r--r--sys/modules/if_gif/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile
index df04cba..0aa4dee 100644
--- a/sys/modules/if_gif/Makefile
+++ b/sys/modules/if_gif/Makefile
@@ -9,6 +9,7 @@ SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mac.h \
SRCS+= in6_gif.c
.endif
+.if !defined(KERNBUILDDIR)
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
@@ -19,5 +20,6 @@ opt_inet6.h:
opt_mrouting.h:
echo "#define MROUTING 1" > ${.TARGET}
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud