summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-10-15 16:46:00 +0000
committerphk <phk@FreeBSD.org>1995-10-15 16:46:00 +0000
commit101c4a6b720cddfa3457df015826f0a31c27624c (patch)
tree266b1e859e73eb53e256b8f66ba3e07dbe015044
parent594bb20af51f80d0b617095a2d4b1a7720c70e67 (diff)
downloadFreeBSD-src-101c4a6b720cddfa3457df015826f0a31c27624c.zip
FreeBSD-src-101c4a6b720cddfa3457df015826f0a31c27624c.tar.gz
Automatically DTRT for VFS_LKM
-rw-r--r--share/mk/bsd.kmod.mk3
-rw-r--r--sys/conf/kmod.mk3
2 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk
index e84a2c6..9f011d1 100644
--- a/share/mk/bsd.kmod.mk
+++ b/share/mk/bsd.kmod.mk
@@ -1,5 +1,5 @@
# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
-# $Id: bsd.kmod.mk,v 1.12 1995/10/02 20:01:43 wollman Exp $
+# $Id: bsd.kmod.mk,v 1.13 1995/10/15 14:32:26 phk Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@@ -21,6 +21,7 @@ KMODMODE?= 555
.if defined(VFS_LKM)
CFLAGS+= -DVFS_LKM -DMODVNOPS=${KMOD}vnops -I.
SRCS+= vnode_if.h
+EXPORT_SYMS+= _${KMOD}
CLEANFILES+= vnode_if.h vnode_if.c
.endif
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index e84a2c6..9f011d1 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.12 1995/10/02 20:01:43 wollman Exp $
+# $Id: bsd.kmod.mk,v 1.13 1995/10/15 14:32:26 phk Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@@ -21,6 +21,7 @@ KMODMODE?= 555
.if defined(VFS_LKM)
CFLAGS+= -DVFS_LKM -DMODVNOPS=${KMOD}vnops -I.
SRCS+= vnode_if.h
+EXPORT_SYMS+= _${KMOD}
CLEANFILES+= vnode_if.h vnode_if.c
.endif
OpenPOWER on IntegriCloud