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.
This commit is contained in:
parent
7ff83380e0
commit
e9dcb6be2d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11517
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user