From e9dcb6be2dc675d949026f5c61c08d117348643d Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 15 Oct 1995 16:56:56 +0000 Subject: [PATCH] An even better idea: The default will be that on _${KMOD} (_nfs_mod...) will be exported. This breaks the compilation of some lkms, the owners of which is kindly requested to consider what should be exported. --- share/mk/bsd.kmod.mk | 5 +++-- sys/conf/kmod.mk | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk index 9f011d1f3e8a..22322328aad9 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.13 1995/10/15 14:32:26 phk Exp $ +# $Id: bsd.kmod.mk,v 1.14 1995/10/15 16:46:00 phk Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -18,10 +18,11 @@ KMODGRP?= bin KMODOWN?= bin KMODMODE?= 555 +EXPORT_SYMS?= _${KMOD} + .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 9f011d1f3e8a..22322328aad9 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.13 1995/10/15 14:32:26 phk Exp $ +# $Id: bsd.kmod.mk,v 1.14 1995/10/15 16:46:00 phk Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -18,10 +18,11 @@ KMODGRP?= bin KMODOWN?= bin KMODMODE?= 555 +EXPORT_SYMS?= _${KMOD} + .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