summaryrefslogtreecommitdiff
path: root/sys/arch/usermode/conf
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2018-09-22 12:24:01 +0000
committerrin <rin@NetBSD.org>2018-09-22 12:24:01 +0000
commit78bb4e0433d2d2e91f5437c53ebbf8ece989392e (patch)
treeb00efc605ed07fb4fbe9f53ce1f73e803565e235 /sys/arch/usermode/conf
parent18a9434357d36a188f19d75feb8fd61094a32c03 (diff)
- Determine KERN_AS automatically depending on whether OPT_MODULAR is
set or not, in the same way as libcompat. - Specify OPT_MODULAR in the port Makefile instead of KERN_AS. Now, KERN_AS=library is used for kernels without module(7) for all ports. OK christos
Diffstat (limited to 'sys/arch/usermode/conf')
-rw-r--r--sys/arch/usermode/conf/Makefile.usermode5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/usermode/conf/Makefile.usermode b/sys/arch/usermode/conf/Makefile.usermode
index 248616593a3..04166569d8a 100644
--- a/sys/arch/usermode/conf/Makefile.usermode
+++ b/sys/arch/usermode/conf/Makefile.usermode
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.usermode,v 1.43 2018/08/17 20:16:07 reinoud Exp $
+# $NetBSD: Makefile.usermode,v 1.44 2018/09/22 12:24:03 rin Exp $
MKCTF?= no
USETOOLS?= no
@@ -50,8 +50,7 @@ CPPFLAGS.thunk.c+= ${USERMODE_CPPFLAGS}
##
## (3) libkern and compat
##
-KERN_AS= library
-COMPAT_AS= library
+OPT_MODULAR= %MODULAR%
##
## (4) local objects, compile rules, and dependencies
+0000'>2008-12-29die filthy #ifdef _MODULE, die!pooka 2008-08-08KASSERT works better with == instead of =pooka 2008-07-21Repeat after me: do not pollute sys with #ifdef _RUMPKERNELpooka 2008-05-30Don't call devsw_attach/detach if _MODULE is not defined.jmcneill 2008-05-21Acquire kernel_lock in putter's fileops.ad 2008-05-19Don't build as module if _RUMPKERNEL is defined.jmcneill 2008-05-19Return result of devsw_detach().ad 2008-05-19Support building putter as a module.jmcneill 2008-03-21Catch up with descriptor handling changes. See kern_descrip.c revisionad 2008-03-01Welcome to 4.99.55:rmind 2008-01-02unstaticate putterdebugpooka 2007-12-03Allow EVFILT_WRITE kqfilters to be registered and map them topooka 2007-11-20Allow to register configuration routines to putter. Once apooka 2007-11-13Don't specialcase minor device, treat all minors the same.pooka 2007-11-12Bounds-check responses from userspace.pooka 2007-11-12* split the putter header into a kernel version and a userland versionpooka 2007-11-12Move putter code from directly under dev/ to dev/putter/pooka