summaryrefslogtreecommitdiffstats
path: root/sys/modules/nmdm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/nmdm/Makefile')
-rw-r--r--sys/modules/nmdm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/nmdm/Makefile b/sys/modules/nmdm/Makefile
index 4982c38..b788334 100644
--- a/sys/modules/nmdm/Makefile
+++ b/sys/modules/nmdm/Makefile
@@ -6,10 +6,12 @@ KMOD= nmdm
SRCS= nmdm.c
SRCS+= opt_compat.h opt_tty.h vnode_if.h
+.if !defined(KERNBUILDDIR)
opt_compat.h:
echo "#define COMPAT_43 1" >opt_compat.h
opt_tty.h:
echo "#define TTYHOG 8192" >opt_tty.h
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud