mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
MFC: revision 197535
Add '#define NFSCLIENT' into opt_nfs.h if the NFSCLIENT variable is 1 (the default is 1). This makes the nfslockd module works for NFS client. Reviewed by: dfr Approved by: re (kib)
This commit is contained in:
parent
a301d3226a
commit
4d1ed2a5c6
1 changed files with 7 additions and 0 deletions
|
|
@ -14,11 +14,18 @@ SRCS+= opt_inet6.h opt_nfs.h
|
|||
|
||||
.if !defined(KERNBUILDDIR)
|
||||
NFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel
|
||||
NFSCLIENT?= 1 # 0/1 - requires NFSCLIENT to be configured in kernel
|
||||
|
||||
.if ${NFS_INET6} > 0
|
||||
opt_inet6.h:
|
||||
echo "#define INET6 1" > ${.TARGET}
|
||||
.endif
|
||||
|
||||
.if ${NFSCLIENT} > 0
|
||||
opt_nfs.h:
|
||||
echo "#define NFSCLIENT 1" > ${.TARGET}
|
||||
.endif
|
||||
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
|
|
|||
Loading…
Reference in a new issue