summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authoragc <agc@NetBSD.org>2008-12-31 21:22:02 +0000
committeragc <agc@NetBSD.org>2008-12-31 21:22:02 +0000
commit287120139a34d8ea1c32cadd04f7e91bd8650e2a (patch)
tree39f1898af1668fcfed4396eff07045f6d21a27e2 /sys/modules
parent25028310684b879398896dc4f79d6cca6a5c3a8b (diff)
Might as well install the dm devmapper module when we install the
other parts of the LVM tools - use the same MKLVM switch, though.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 5f7c61ae2f0..ebc1f27af21 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/12/05 13:05:37 ad Exp $
+# $NetBSD: Makefile,v 1.23 2008/12/31 21:22:02 agc Exp $
# For all platforms
@@ -80,4 +80,11 @@ SUBDIR+= i915drm
SUBDIR+= radeondrm
.endif
+.include <bsd.own.mk>
+
+# we need our device mapper for LVM
+.if (${MKLVM} != "no")
+SUBDIR+= dm
+.endif
+
.include <bsd.subdir.mk>