summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_faith/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/if_faith/Makefile')
-rw-r--r--sys/modules/if_faith/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/if_faith/Makefile b/sys/modules/if_faith/Makefile
index 959d5e2..a46d5fd 100644
--- a/sys/modules/if_faith/Makefile
+++ b/sys/modules/if_faith/Makefile
@@ -5,10 +5,12 @@
KMOD= if_faith
SRCS= if_faith.c opt_inet.h opt_inet6.h
+.if !defined(KERNBUILDDIR)
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
opt_inet6.h:
echo "#define INET6 1" > ${.TARGET}
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud