summaryrefslogtreecommitdiffstats
path: root/sys/modules/en/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/en/Makefile')
-rw-r--r--sys/modules/en/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/en/Makefile b/sys/modules/en/Makefile
index 42909fa..8f342e3 100644
--- a/sys/modules/en/Makefile
+++ b/sys/modules/en/Makefile
@@ -8,6 +8,7 @@ SRCS+= opt_inet.h opt_natm.h opt_ddb.h
CFLAGS+= -DENABLE_BPF
# CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS -DEN_DEBUG=0
+.if !defined(KERNBUILDDIR)
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
@@ -16,5 +17,6 @@ opt_natm.h:
# opt_ddb.h:
# echo "#define DDB 1" > ${.TARGET}
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud