Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun2/conf The INSTALL kernel needs to be small too



details:   https://anonhg.NetBSD.org/src/rev/15e6cdcda0b9
branches:  trunk
changeset: 1023249:15e6cdcda0b9
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Aug 30 20:22:52 2021 +0000

description:
The INSTALL kernel needs to be small too

diffstat:

 sys/arch/sun2/conf/INSTALL |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 765f91873f2e -r 15e6cdcda0b9 sys/arch/sun2/conf/INSTALL
--- a/sys/arch/sun2/conf/INSTALL        Mon Aug 30 20:20:20 2021 +0000
+++ b/sys/arch/sun2/conf/INSTALL        Mon Aug 30 20:22:52 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.53 2018/08/01 20:04:14 maxv Exp $
+# $NetBSD: INSTALL,v 1.54 2021/08/30 20:22:52 christos Exp $
 
 # INSTALL Sun2 (2/120, 2/170, 2/50, ...)
 
@@ -6,9 +6,11 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "INSTALL-$Revision: 1.53 $"
+#ident                 "INSTALL-$Revision: 1.54 $"
 
-makeoptions    COPTS="-Os"     # optimize for size
+makeoptions    COPTS="-Os -ffunction-sections -fdata-sections" # optimize for size
+makeoptions    EXTRA_LINKFLAGS="--gc-sections"
+makeoptions    KERNLDSCRIPT="${SUN2}/conf/kern.ldscript"
 
 # Machines to be supported by this kernel
 #options       FPU_EMULATE



Home | Main Index | Thread Index | Old Index