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