aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/if_stf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/if_stf/Makefile')
-rw-r--r--sys/modules/if_stf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/if_stf/Makefile b/sys/modules/if_stf/Makefile
index 2ea7363437a0..c231b002229c 100644
--- a/sys/modules/if_stf/Makefile
+++ b/sys/modules/if_stf/Makefile
@@ -5,10 +5,12 @@
KMOD= if_stf
SRCS= if_stf.c opt_inet.h opt_inet6.h opt_mac.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>