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:
commit
5fa86f4e0c
17
lkm/ccd/Makefile
Normal file
17
lkm/ccd/Makefile
Normal 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
17
sys/modules/ccd/Makefile
Normal 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>
|
Loading…
Reference in New Issue
Block a user