From 5fa86f4e0c2e148ab7ef188a71cfb894f03bbcba Mon Sep 17 00:00:00 2001 From: asami Date: Wed, 12 Jun 1996 03:49:15 +0000 Subject: [PATCH] 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. --- lkm/ccd/Makefile | 17 +++++++++++++++++ sys/modules/ccd/Makefile | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 lkm/ccd/Makefile create mode 100644 sys/modules/ccd/Makefile diff --git a/lkm/ccd/Makefile b/lkm/ccd/Makefile new file mode 100644 index 000000000000..1a2783084682 --- /dev/null +++ b/lkm/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 diff --git a/sys/modules/ccd/Makefile b/sys/modules/ccd/Makefile new file mode 100644 index 000000000000..1a2783084682 --- /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