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.
This commit is contained in:
asami 1996-06-12 03:49:15 +00:00
commit 5fa86f4e0c
2 changed files with 34 additions and 0 deletions

17
lkm/ccd/Makefile Normal file
View File

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

17
sys/modules/ccd/Makefile Normal file
View File

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