Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

src: Pull up following revision(s) (requested by mrg in ticket #...



details:   https://anonhg.NetBSD.org/src/rev/5e78187735c3
branches:  netbsd-8
changeset: 318103:5e78187735c3
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Apr 12 14:10:57 2018 +0000
description:
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

diffstat:

 sys/arch/sun2/conf/Makefile.sun2 |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 439e80103b3e -r 5e78187735c3 sys/arch/sun2/conf/Makefile.sun2
--- a/sys/arch/sun2/conf/Makefile.sun2  Thu Apr 12 14:06:14 2018 +0000
+++ b/sys/arch/sun2/conf/Makefile.sun2  Thu Apr 12 14:10:57 2018 +0000
@@ -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 @@
 ##
 ## (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}



Home | Main Index | Thread Index | Old Index