Add a MKMODULAR build-time option, defaulting to no, to enable the new

kernel modules framework.
This commit is contained in:
jmmv 2008-02-09 19:31:36 +00:00
parent b0152a99f8
commit 62b4c6bc5c
2 changed files with 15 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.README,v 1.199 2008/01/09 11:26:14 simonb Exp $
# $NetBSD: bsd.README,v 1.200 2008/02/09 19:31:36 jmmv Exp $
# @(#)bsd.README 8.2 (Berkeley) 4/2/94
This is the README file for the new (as of 1993) make "include" files
@ -207,6 +207,17 @@ MKMAN If "no", don't build or install the man or catman pages,
MKMANZ If not "no", compress manual pages at installation time.
Default: no
MKMODULAR If "no", don't build the versions of modload(8), modstat(8)
and modunload(8) that use the new modules framework present
in the kernel (enabled separately using 'options MODULAR'
int the configuration file). Also don't build any other
stuff that may rely on this support, such as tests or kernel
modules.
Note: This flag will disappear when the new modules framework
is complete enough to replace the old LKM, effectively
switching it to "yes" by default.
Default: no
MKNLS If "no", don't build or install the NLS files and locale
definition files.
Default: yes

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk,v 1.501 2008/01/29 14:14:54 nakayama Exp $
# $NetBSD: bsd.own.mk,v 1.502 2008/02/09 19:31:36 jmmv Exp $
.if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1
@ -559,7 +559,8 @@ MK${var}?= yes
#
.for var in \
CRYPTO_IDEA CRYPTO_MDC2 CRYPTO_RC5 DEBUG DEBUGLIB \
MANZ OBJDIRS PRIVATELIB PUFFS SOFTFLOAT UNPRIVED UPDATE X11
MANZ MODULAR OBJDIRS PRIVATELIB PUFFS SOFTFLOAT \
UNPRIVED UPDATE X11
MK${var}?= no
.endfor