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