Module Name: src
Committed By: martin
Date: Thu Apr 12 14:10:58 UTC 2018
Modified Files:
src/sys/arch/sun2/conf [netbsd-8]: Makefile.sun2
Log Message:
Pull up following revision(s) (requested by mrg in ticket #746):
sys/arch/sun2/conf/Makefile.sun2: revision 1.21-1.22
sun2/sun3:
- build libkern as an archive for non modular builds. from maya@
sun3:
- cut down GENERIC a bunch to bring below 2MB.
- reduce UBC_NWINS, MAXEXEC, and PAGER_MAP_DEFAULT_SIZE to recover
enough lost VA to actually run basic tests.
Remove more unused functions with COMPAT_AS=library
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.20.48.1 src/sys/arch/sun2/conf/Makefile.sun2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sun2/conf/Makefile.sun2
diff -u src/sys/arch/sun2/conf/Makefile.sun2:1.20 src/sys/arch/sun2/conf/Makefile.sun2:1.20.48.1
--- src/sys/arch/sun2/conf/Makefile.sun2:1.20 Fri Jan 21 15:59:09 2011
+++ src/sys/arch/sun2/conf/Makefile.sun2 Thu Apr 12 14:10:57 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sun2,v 1.20 2011/01/21 15:59:09 joerg Exp $
+# $NetBSD: Makefile.sun2,v 1.20.48.1 2018/04/12 14:10:57 martin Exp $
# Makefile for NetBSD
#
@@ -38,7 +38,14 @@ AFLAGS+= -x assembler-with-cpp
##
## (3) libkern and compat
##
+OPT_MODULAR= %MODULAR%
+.if !empty(OPT_MODULAR)
KERN_AS= obj
+COMPAT_AS= obj
+.else
+KERN_AS= library
+COMPAT_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}