summaryrefslogtreecommitdiffstats
path: root/sys/modules/ip_mroute_mod/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/ip_mroute_mod/Makefile')
-rw-r--r--sys/modules/ip_mroute_mod/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/ip_mroute_mod/Makefile b/sys/modules/ip_mroute_mod/Makefile
index be135de..b78d735 100644
--- a/sys/modules/ip_mroute_mod/Makefile
+++ b/sys/modules/ip_mroute_mod/Makefile
@@ -7,7 +7,9 @@ SRCS= ip_mroute.c opt_mac.h opt_mrouting.h
CFLAGS+= -DMROUTE_KLD
+.if !defined(KERNBUILDDIR)
opt_mrouting.h:
echo "#define MROUTING 1" > ${.TARGET}
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud