summaryrefslogtreecommitdiffstats
path: root/sys/modules/ccd
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-06-12 03:49:15 +0000
committerasami <asami@FreeBSD.org>1996-06-12 03:49:15 +0000
commit5fa86f4e0c2e148ab7ef188a71cfb894f03bbcba (patch)
tree6a837638a4d73ace095d57c2b80f6c5c287c36a8 /sys/modules/ccd
downloadFreeBSD-src-5fa86f4e0c2e148ab7ef188a71cfb894f03bbcba.zip
FreeBSD-src-5fa86f4e0c2e148ab7ef188a71cfb894f03bbcba.tar.gz
A Makefile for a ccd lkm. You need to explicitly /sbin/modload it for
now. Someday I'll add a hook to ccdconfig to do it automatically.
Diffstat (limited to 'sys/modules/ccd')
-rw-r--r--sys/modules/ccd/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/modules/ccd/Makefile b/sys/modules/ccd/Makefile
new file mode 100644
index 0000000..1a27830
--- /dev/null
+++ b/sys/modules/ccd/Makefile
@@ -0,0 +1,17 @@
+# $Id$
+
+.PATH: ${.CURDIR}/../../sys/dev/ccd
+KMOD= ccd_mod
+SRCS= ccd.c ccd.h
+NOMAN=
+PSEUDO_LKM=
+CFLAGS= -I. -I/sys
+VFS_LKM=
+
+NCCD?= 4
+CLEANFILES+= ccd.h vnode_if.h
+
+ccd.h:
+ echo "#define NCCD ${NCCD}" > ccd.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud