diff options
author | alfred <alfred@FreeBSD.org> | 2002-07-15 19:40:23 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-07-15 19:40:23 +0000 |
commit | df766765ba15b2a418b09b713353a763a1c12909 (patch) | |
tree | 08c1766490b20ea5dcdd86157dd05bf33f410b18 /sys/modules/nfsclient | |
parent | c559b8902789e64b5a4b1e482f230e933cda7198 (diff) | |
download | FreeBSD-src-df766765ba15b2a418b09b713353a763a1c12909.zip FreeBSD-src-df766765ba15b2a418b09b713353a763a1c12909.tar.gz |
Add IPv6 support.
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
Diffstat (limited to 'sys/modules/nfsclient')
-rw-r--r-- | sys/modules/nfsclient/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile index 55fcd88..0d2505a 100644 --- a/sys/modules/nfsclient/Makefile +++ b/sys/modules/nfsclient/Makefile @@ -6,8 +6,10 @@ SRCS= vnode_if.h \ nfs_bio.c nfs_lock.c nfs_node.c nfs_socket.c nfs_subs.c nfs_nfsiod.c \ nfs_vfsops.c nfs_vnops.c nfs_common.c \ opt_inet.h opt_nfs.h opt_bootp.h +SRCS+= opt_inet6.h NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel +NFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel opt_inet.h: touch ${.TARGET} @@ -15,4 +17,10 @@ opt_inet.h: echo "#define INET 1" > ${.TARGET} .endif +.if ${NFS_INET6} > 0 +opt_inet6.h: + echo "#define INET6 1" > ${.TARGET} +.endif + .include <bsd.kmod.mk> + |