Might as well install the dm devmapper module when we install the

other parts of the LVM tools - use the same MKLVM switch, though.
This commit is contained in:
agc 2008-12-31 21:22:02 +00:00
parent 2502831068
commit 287120139a
2 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: module.mi,v 1.2 2008/12/05 13:05:37 ad Exp $
# $NetBSD: module.mi,v 1.3 2008/12/31 21:22:02 agc Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -27,6 +27,8 @@
./@MODULEDIR@/coredump/coredump.kmod base-kernel-modules
./@MODULEDIR@/dirhash base-obsolete obsolete
./@MODULEDIR@/dirhash/dirhash.kmod base-obsolete obsolete
./@MODULEDIR@/dm base-kernel-modules lvm
./@MODULEDIR@/dm/dm.kmod base-kernel-modules lvm
./@MODULEDIR@/efs base-kernel-modules
./@MODULEDIR@/efs/efs.kmod base-kernel-modules
./@MODULEDIR@/exec_script base-kernel-modules

View File

@ -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>