summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
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/sun3
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/sun3')
-rw-r--r--sys/arch/sun3/conf/Makefile.sun37
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/sun3/conf/Makefile.sun3 b/sys/arch/sun3/conf/Makefile.sun3
index 1d31ebb4941..560be625e48 100644
--- a/sys/arch/sun3/conf/Makefile.sun3
+++ b/sys/arch/sun3/conf/Makefile.sun3
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sun3,v 1.108 2018/09/22 12:05:52 rin Exp $
+# $NetBSD: Makefile.sun3,v 1.109 2018/09/22 12:24:03 rin Exp $
# Makefile for NetBSD
#
@@ -40,11 +40,6 @@ AFLAGS+= -x assembler-with-cpp
## (3) libkern and compat
##
OPT_MODULAR= %MODULAR%
-.if !empty(OPT_MODULAR)
-KERN_AS= obj
-.else
-KERN_AS= library
-.endif
##
## (4) local objects, compile rules, and dependencies