Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari/conf Use COPTS="-O2 -fno-reorder-blocks" for ...
details: https://anonhg.NetBSD.org/src/rev/cc6d0e1f116f
branches: trunk
changeset: 330316:cc6d0e1f116f
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Jul 05 09:28:48 2014 +0000
description:
Use COPTS="-O2 -fno-reorder-blocks" for kernels except SMALL030_KERNEL.
Also remove COPTS="-Os" from std.* files and specify it in
GENERIC.in template for SMALL030_KERNEL.
diffstat:
sys/arch/atari/conf/GENERIC.in | 8 +++++++-
sys/arch/atari/conf/std.atari | 4 +---
sys/arch/atari/conf/std.hades | 4 +---
sys/arch/atari/conf/std.milan | 4 +---
4 files changed, 10 insertions(+), 10 deletions(-)
diffs (77 lines):
diff -r 7c7790b59a45 -r cc6d0e1f116f sys/arch/atari/conf/GENERIC.in
--- a/sys/arch/atari/conf/GENERIC.in Sat Jul 05 09:24:23 2014 +0000
+++ b/sys/arch/atari/conf/GENERIC.in Sat Jul 05 09:28:48 2014 +0000
@@ -1,5 +1,5 @@
#
-# $NetBSD: GENERIC.in,v 1.105 2013/06/30 21:38:55 rmind Exp $
+# $NetBSD: GENERIC.in,v 1.106 2014/07/05 09:28:48 tsutsui Exp $
#
# Generic atari
#
@@ -19,6 +19,12 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#endif /* !SMALL030_KERNEL */
+#if !defined(SMALL030_KERNEL)
+makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk
+#else
+makeoptions COPTS="-Os" # optimize for space
+#endif /* !SMALL030_KERNEL */
+
#if defined(SMALL030_KERNEL) || \
(!defined(TT030_KERNEL) && !defined(HADES_KERNEL) && !defined(MILAN_KERNEL))
#define NO_PHYS_NETWORK 1
diff -r 7c7790b59a45 -r cc6d0e1f116f sys/arch/atari/conf/std.atari
--- a/sys/arch/atari/conf/std.atari Sat Jul 05 09:24:23 2014 +0000
+++ b/sys/arch/atari/conf/std.atari Sat Jul 05 09:28:48 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.atari,v 1.26 2011/12/15 13:27:06 tsutsui Exp $
+# $NetBSD: std.atari,v 1.27 2014/07/05 09:28:48 tsutsui Exp $
#
# standard atari information
#
@@ -6,8 +6,6 @@
include "conf/std" # MI standard options
include "arch/m68k/conf/std.m68k" # m68k standard options
-makeoptions COPTS="-Os" # XXX for wasteful gcc 4.5
-
options _ATARIHW_ # Original Atari like mainboard hw.
mainbus0 at root
diff -r 7c7790b59a45 -r cc6d0e1f116f sys/arch/atari/conf/std.hades
--- a/sys/arch/atari/conf/std.hades Sat Jul 05 09:24:23 2014 +0000
+++ b/sys/arch/atari/conf/std.hades Sat Jul 05 09:28:48 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.hades,v 1.8 2011/12/15 13:27:06 tsutsui Exp $
+# $NetBSD: std.hades,v 1.9 2014/07/05 09:28:48 tsutsui Exp $
#
# standard Hades information
#
@@ -6,8 +6,6 @@
include "conf/std" # MI standard options
include "arch/m68k/conf/std.m68k" # m68k standard options
-makeoptions COPTS="-Os" # XXX for wasteful gcc 4.5
-
options _ATARIHW_ # Original Atari like mainboard hw.
mainbus0 at root
diff -r 7c7790b59a45 -r cc6d0e1f116f sys/arch/atari/conf/std.milan
--- a/sys/arch/atari/conf/std.milan Sat Jul 05 09:24:23 2014 +0000
+++ b/sys/arch/atari/conf/std.milan Sat Jul 05 09:28:48 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.milan,v 1.7 2011/12/15 13:27:06 tsutsui Exp $
+# $NetBSD: std.milan,v 1.8 2014/07/05 09:28:48 tsutsui Exp $
#
# standard atari information
#
@@ -6,8 +6,6 @@
include "conf/std" # MI standard options
include "arch/m68k/conf/std.m68k" # m68k standard options
-makeoptions COPTS="-Os" # XXX for wasteful gcc 4.5
-
options _MILANHW_
mainbus0 at root
Home |
Main Index |
Thread Index |
Old Index