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/sun2 | |
| 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/sun2')
| -rw-r--r-- | sys/arch/sun2/conf/Makefile.sun2 | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/sun2/conf/Makefile.sun2 b/sys/arch/sun2/conf/Makefile.sun2 index bb5ae866346..3382715c0fd 100644 --- a/sys/arch/sun2/conf/Makefile.sun2 +++ b/sys/arch/sun2/conf/Makefile.sun2 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.sun2,v 1.23 2018/09/22 12:05:52 rin Exp $ +# $NetBSD: Makefile.sun2,v 1.24 2018/09/22 12:24:03 rin Exp $ # Makefile for NetBSD # @@ -39,11 +39,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 # XXX lib/libkern/arch/m68k/Makefile.inc needs to know that # XXX our MACHINE_ARCH is m68000, and not m68k. --fredette KERNMISCMAKEFLAGS= MACHINE_ARCH=${MACHINE_ARCH} |
