diff options
| author | rin <rin@NetBSD.org> | 2018-09-22 12:24:01 +0000 |
|---|---|---|
| committer | rin <rin@NetBSD.org> | 2018-09-22 12:24:01 +0000 |
| commit | 78bb4e0433d2d2e91f5437c53ebbf8ece989392e (patch) | |
| tree | b00efc605ed07fb4fbe9f53ce1f73e803565e235 /sys/arch/usermode | |
| parent | 18a9434357d36a188f19d75feb8fd61094a32c03 (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')
| -rw-r--r-- | sys/arch/usermode/conf/Makefile.usermode | 5 |
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 |
