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