diff options
author | wollman <wollman@FreeBSD.org> | 1994-09-26 22:34:04 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-09-26 22:34:04 +0000 |
commit | 4f2f437be22210613f1ed3451ec0e97d42fcf0cf (patch) | |
tree | 72e56244b9151966b7bbd63a3eca821e74792259 /sys | |
parent | b92adb4dc31e1c2030c021718acd14bbdba65f13 (diff) | |
download | FreeBSD-src-4f2f437be22210613f1ed3451ec0e97d42fcf0cf.zip FreeBSD-src-4f2f437be22210613f1ed3451ec0e97d42fcf0cf.tar.gz |
Lots of kernel code requires vnodE_if.h, so provide code to generate it
if requested. LKMs which need it should use:
SRCS+= vnode_if.h
CLEANFILES+= vnode_if.h vnode_if.c
These rules were already present for VFS LKMs; now they are enabled all
the time. (VFS LKMs do not need the fragment above; it is still done for them.)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/kmod.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index e6e57b6..a796dd6 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -1,5 +1,5 @@ # From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.kmod.mk,v 1.1 1994/09/14 21:59:28 wollman Exp $ +# $Id: bsd.kmod.mk,v 1.2 1994/09/21 03:49:59 wollman Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -145,13 +145,11 @@ unload: ${PROG} /sbin/modunload -n ${KMOD} .endif -.if defined(VFS_LKM) KERN= ${.CURDIR}/../../sys/kern vnode_if.h: ${KERN}/vnode_if.sh ${KERN}/vnode_if.src sh ${KERN}/vnode_if.sh ${KERN}/vnode_if.src ./vnode_if.h: vnode_if.h -.endif .include <bsd.dep.mk> |