summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorhaad <haad@NetBSD.org>2009-02-05 17:32:10 +0000
committerhaad <haad@NetBSD.org>2009-02-05 17:32:10 +0000
commit7aa7bdd03cb2ee1329a4fa08e5fcbe52dae30b1e (patch)
tree6657a11e6fb0ae9c0deb1ff3c479e74cf5b248de /sys/modules
parent685cae19f28c016026775e99676028a20af68b99 (diff)
Add support for the MODULAR framework to the vnd driver. Enable building of
vnd.kmod by default.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile5
-rw-r--r--sys/modules/vnd/Makefile13
2 files changed, 17 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index c1b839f8fa8..7916cab9ac6 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2009/01/05 15:36:51 pooka Exp $
+# $NetBSD: Makefile,v 1.25 2009/02/05 17:32:10 haad Exp $
# For all platforms
@@ -6,7 +6,9 @@ SUBDIR= accf_dataready
SUBDIR+= accf_httpready
SUBDIR+= adosfs
SUBDIR+= aio
+SUBDIR+= ccd
SUBDIR+= cd9660
+SUBDIR+= cgd
SUBDIR+= coda
SUBDIR+= coda5
SUBDIR+= compat
@@ -45,6 +47,7 @@ SUBDIR+= tmpfs
SUBDIR+= udf
SUBDIR+= umap
SUBDIR+= union
+SUBDIR+= vnd
.if (defined(NOTYET))
SUBDIR+= unionfs
.endif
diff --git a/sys/modules/vnd/Makefile b/sys/modules/vnd/Makefile
new file mode 100644
index 00000000000..c801459699e
--- /dev/null
+++ b/sys/modules/vnd/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2009/02/05 17:32:10 haad Exp $
+
+.include "../Makefile.inc"
+
+CPPFLAGS+= -D VND_COMPRESSION
+
+.PATH: ${S}/dev
+
+
+KMOD= vnd
+SRCS= vnd.c
+
+.include <bsd.kmodule.mk>