Make sure all LKMs get built with -DUVM and -DPMAP_NEW if so configured
in mk.conf.
This commit is contained in:
parent
f1821c7811
commit
3ef999a19b
15
sys/lkm/Makefile.inc
Normal file
15
sys/lkm/Makefile.inc
Normal file
@ -0,0 +1,15 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 1998/03/28 23:58:44 thorpej Exp $
|
||||
|
||||
.if !defined(__SYS_LKM_MAKEFILE_INC)
|
||||
__SYS_LKM_MAKEFILE_INC= 1
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if defined(UVM)
|
||||
CPPFLAGS+= -DUVM
|
||||
.endif
|
||||
.if defined(PMAP_NEW)
|
||||
CPPFLAGS+= -DPMAP_NEW
|
||||
.endif
|
||||
|
||||
.endif # __SYS_LKM_MAKEFILE_INC
|
@ -1,3 +1,5 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 1996/08/27 23:42:01 explorer Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.3 1998/03/28 23:58:44 thorpej Exp $
|
||||
|
||||
S!= cd ${.CURDIR}/../../..;pwd
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 1997/01/07 10:47:37 mrg Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.2 1998/03/28 23:58:44 thorpej Exp $
|
||||
|
||||
S!= cd ${.CURDIR}/../../..;pwd
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 1996/08/27 23:42:03 explorer Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.3 1998/03/28 23:58:44 thorpej Exp $
|
||||
|
||||
S!= cd ${.CURDIR}/../../..;pwd
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 1996/08/27 23:42:05 explorer Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.3 1998/03/28 23:58:44 thorpej Exp $
|
||||
|
||||
S!= cd ${.CURDIR}/../../../..;pwd
|
||||
|
||||
.include "../../Makefile.inc"
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 1996/08/27 23:42:06 explorer Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.3 1998/03/28 23:58:45 thorpej Exp $
|
||||
|
||||
S!= cd ${.CURDIR}/../../../..;pwd
|
||||
|
||||
.include "../../Makefile.inc"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.5 1998/02/18 03:55:23 perry Exp $
|
||||
# $NetBSD: Makefile,v 1.6 1998/03/28 23:58:45 thorpej Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
@ -12,11 +12,3 @@ SRCS= lkminit_vfs.c
|
||||
SRCS+= kernfs_vfsops.c kernfs_vnops.c
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
# XXX
|
||||
.if defined(UVM)
|
||||
CPPFLAGS+= -DUVM
|
||||
.endif
|
||||
.if defined(PMAP_NEW)
|
||||
CPPFLAGS+= -DPMAP_NEW
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.6 1998/02/18 03:55:30 perry Exp $
|
||||
# $NetBSD: Makefile,v 1.7 1998/03/28 23:58:45 thorpej Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
@ -13,11 +13,3 @@ SRCS+= procfs_ctl.c procfs_note.c procfs_status.c procfs_subr.c
|
||||
SRCS+= procfs_vfsops.c procfs_vnops.c
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
# XXX
|
||||
.if defined(UVM)
|
||||
CPPFLAGS+= -DUVM
|
||||
.endif
|
||||
.if defined(PMAP_NEW)
|
||||
CPPFLAGS+= -DPMAP_NEW
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.5 1998/02/18 03:55:36 perry Exp $
|
||||
# $NetBSD: Makefile,v 1.6 1998/03/28 23:58:45 thorpej Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
@ -12,11 +12,3 @@ SRCS= lkminit_vfs.c
|
||||
SRCS+= union_vfsops.c union_vnops.c union_subr.c
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
# XXX
|
||||
.if defined(UVM)
|
||||
CPPFLAGS+= -DUVM
|
||||
.endif
|
||||
.if defined(PMAP_NEW)
|
||||
CPPFLAGS+= -DPMAP_NEW
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 1998/03/10 06:53:36 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 1998/03/28 23:58:45 thorpej Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
@ -13,8 +13,3 @@ SRCS+= msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_lookup.c
|
||||
SRCS+= msdosfs_vfsops.c msdosfs_vnops.c
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
# XXX
|
||||
.if defined(UVM)
|
||||
CPPFLAGS+= -DUVM
|
||||
.endif
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 1996/08/27 23:42:08 explorer Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.3 1998/03/28 23:58:45 thorpej Exp $
|
||||
|
||||
S!= cd ${.CURDIR}/../../../..;pwd
|
||||
|
||||
.include "../../Makefile.inc"
|
||||
|
Loading…
Reference in New Issue
Block a user