summaryrefslogtreecommitdiffstats
path: root/lkm
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-01-09 01:01:21 +0000
committereivind <eivind@FreeBSD.org>1998-01-09 01:01:21 +0000
commit7b61fe3f84118cce43345d2934168de0c490c149 (patch)
tree8ab5b9ba6bb5ffd75fc9fbd85cb694a81eded6f2 /lkm
parent6df58d9bc96fd65bf7987aa61783dc7873ce960f (diff)
downloadFreeBSD-src-7b61fe3f84118cce43345d2934168de0c490c149.zip
FreeBSD-src-7b61fe3f84118cce43345d2934168de0c490c149.tar.gz
Minor fixups after INET option change.
Diffstat (limited to 'lkm')
-rw-r--r--lkm/if_ppp/Makefile5
-rw-r--r--lkm/nfs/Makefile16
2 files changed, 15 insertions, 6 deletions
diff --git a/lkm/if_ppp/Makefile b/lkm/if_ppp/Makefile
index 4a49e1d..3f3072d 100644
--- a/lkm/if_ppp/Makefile
+++ b/lkm/if_ppp/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.10 1997/12/16 22:50:18 eivind Exp $
+# $Id: Makefile,v 1.11 1998/01/08 23:50:18 eivind Exp $
.PATH: ${.CURDIR}/../../sys/net
KMOD= if_ppp_mod
@@ -14,7 +14,6 @@ PPP_DEFLATE?= 1 # 0/1
PPP_FILTER?= 0 # 0/1 - requires bpf to be configured in kernel
PPP_INET?= 1 # 0/1 - requires INET to be configured in kernel
PPP_IPX?= 0 # 0/1 - requires IPX to be configured in kernel
-PROTOS?= -DINET # add -DIPX if you have IPX in the kernel
CFLAGS+= ${PROTOS}
CLEANFILES+= bpfilter.h opt_inet.h opt_ipx.h opt_ppp.h ppp.h
@@ -28,7 +27,7 @@ ppp.h:
opt_inet.h:
touch opt_inet.h
.if ${PPP_INET} > 0
- echo "#define IPX ${PPP_INET}" > opt_inet.h
+ echo "#define INET 1" > opt_inet.h
.endif
opt_ipx.h:
diff --git a/lkm/nfs/Makefile b/lkm/nfs/Makefile
index efb52f1..69939ca 100644
--- a/lkm/nfs/Makefile
+++ b/lkm/nfs/Makefile
@@ -1,11 +1,21 @@
-# $Id$
+# $Id: Makefile,v 1.3 1997/02/22 12:48:40 peter Exp $
.PATH: ${.CURDIR}/../../sys/nfs
KMOD= nfs_mod
SRCS= nfs_bio.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \
- nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c nfs_vnops.c
+ nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c \
+ nfs_vnops.c opt_inet.h
+NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
NOMAN=
VFS_LKM=
-CFLAGS+= -DNFS -DINET
+
+CFLAGS+= -DNFS
+CLEANFILES+= opt_inet.h
+
+opt_inet.h:
+ touch opt_inet.h
+.if ${NFS_INET} > 0
+ echo "#define INET 1" > opt_inet.h
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud