From 6a324bffbd8c984e4d4ab4e71159f9667514f3ed Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 11 Feb 1998 11:57:21 +0000 Subject: [PATCH] make these work with -DUVM --- sys/lkm/vfs/miscfs/kernfs/Makefile | 7 ++++++- sys/lkm/vfs/miscfs/procfs/Makefile | 7 ++++++- sys/lkm/vfs/miscfs/union/Makefile | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/sys/lkm/vfs/miscfs/kernfs/Makefile b/sys/lkm/vfs/miscfs/kernfs/Makefile index 9b355821403a..8ccf32d798fd 100644 --- a/sys/lkm/vfs/miscfs/kernfs/Makefile +++ b/sys/lkm/vfs/miscfs/kernfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1996/08/27 21:44:44 explorer Exp $ +# $NetBSD: Makefile,v 1.4 1998/02/11 11:57:21 mrg Exp $ .include "../Makefile.inc" @@ -12,3 +12,8 @@ SRCS= lkminit_vfs.c SRCS+= kernfs_vfsops.c kernfs_vnops.c .include + +# XXX +.if defined(UVM) +CPPFLAGS+= -DUVM +.endif diff --git a/sys/lkm/vfs/miscfs/procfs/Makefile b/sys/lkm/vfs/miscfs/procfs/Makefile index 69a8da8cb7ce..1813c02c7ad2 100644 --- a/sys/lkm/vfs/miscfs/procfs/Makefile +++ b/sys/lkm/vfs/miscfs/procfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 1997/08/13 05:46:57 explorer Exp $ +# $NetBSD: Makefile,v 1.5 1998/02/11 11:57:23 mrg Exp $ .include "../Makefile.inc" @@ -13,3 +13,8 @@ SRCS+= procfs_ctl.c procfs_note.c procfs_status.c procfs_subr.c SRCS+= procfs_vfsops.c procfs_vnops.c .include + +# XXX +.if defined(UVM) +CPPFLAGS+= -DUVM +.endif diff --git a/sys/lkm/vfs/miscfs/union/Makefile b/sys/lkm/vfs/miscfs/union/Makefile index 12fc5199f86f..69cd6a5c6dc0 100644 --- a/sys/lkm/vfs/miscfs/union/Makefile +++ b/sys/lkm/vfs/miscfs/union/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1996/08/27 21:44:53 explorer Exp $ +# $NetBSD: Makefile,v 1.4 1998/02/11 11:57:22 mrg Exp $ .include "../Makefile.inc" @@ -12,3 +12,8 @@ SRCS= lkminit_vfs.c SRCS+= union_vfsops.c union_vnops.c union_subr.c .include + +# XXX +.if defined(UVM) +CPPFLAGS+= -DUVM +.endif