Separate -Os into COPTS; pointed out by Izumi Tsutsui.

This commit is contained in:
christos 2006-11-28 16:24:54 +00:00
parent edc54bf23f
commit cc00177a7d
9 changed files with 24 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC_PS2TINY,v 1.42 2006/11/28 16:15:37 christos Exp $
# $NetBSD: GENERIC_PS2TINY,v 1.43 2006/11/28 16:24:54 christos Exp $
#
# GENERIC-style kernel config for IBM PS/2 with MCA bus. It only contains
# IBM PS/2 related stuff and has been generally trimmed down somewhat,
@ -79,7 +79,7 @@ options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#options KGDB # remote debugger
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
#makeoptions DEBUG="-g" # compile full symbol table
makeoptions CPUFLAGS="-Os" # generates smaller code than -O2, -O1
makeoptions COPTS="-Os" # generates smaller code than -O2, -O1
# File systems
file-system FFS # UFS

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC_TINY,v 1.101 2006/11/28 16:15:37 christos Exp $
# $NetBSD: GENERIC_TINY,v 1.102 2006/11/28 16:24:54 christos Exp $
#
# GENERIC_TINY -- suitable default for 4M machines
# No EISA, PCI, or SCSI.
@ -8,7 +8,7 @@ include "arch/i386/conf/std.i386"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
makeoptions CPUFLAGS="-Os"
makeoptions COPTS="-Os"
maxusers 8 # estimated number of users

View File

@ -1,4 +1,4 @@
# $NetBSD: INSTALL,v 1.295 2006/11/28 16:15:37 christos Exp $
# $NetBSD: INSTALL,v 1.296 2006/11/28 16:24:54 christos Exp $
#
# INSTALL - Installation kernel.
#
@ -13,7 +13,8 @@ include "arch/i386/conf/std.i386"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
makeoptions CPUFLAGS="-Os -march=i486 -mtune=i486" # i486 is densest code
makeoptions CPUFLAGS="-march=i486 -mtune=i486" # i486 is densest code
makeoptions COPTS="-Os"
# Enable the hooks used for initializing the root memory-disk.
options MEMORY_DISK_HOOKS

View File

@ -1,4 +1,4 @@
# $NetBSD: INSTALL.MP,v 1.8 2006/11/28 16:15:37 christos Exp $
# $NetBSD: INSTALL.MP,v 1.9 2006/11/28 16:24:54 christos Exp $
#
# INSTALL.MP -- Install, plus enable Multiprocessor support.
# Mostly to let people test-boot MP systems.
@ -17,6 +17,7 @@ options MPBIOS # configure CPUs and APICs using MPBIOS
no options I486_CPU
no makeoptions CPUFLAGS
makeoptions CPUFLAGS="-Os -march=pentium -mtune=i486"
makeoptions CPUFLAGS="-march=pentium -mtune=i486"
makeoptions COPTS="-Os"
ioapic* at mainbus? apid ?

View File

@ -1,4 +1,4 @@
# $NetBSD: INSTALL_LAPTOP,v 1.109 2006/11/28 16:15:37 christos Exp $
# $NetBSD: INSTALL_LAPTOP,v 1.110 2006/11/28 16:24:54 christos Exp $
#
# INSTALL - Installation kernel.
#
@ -19,7 +19,8 @@ options MEMORY_DISK_IS_ROOT # force root on memory disk
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
options MEMORY_DISK_ROOT_SIZE=10000 # size of memory disk, in blocks
makeoptions CPUFLAGS="-Os -march=i486 -mtune=i486" # i486 is densest code
makeoptions CPUFLAGS="-march=i486 -mtune=i486" # i486 is densest code
makeoptions COPTS="-Os"
maxusers 32 # estimated number of users

View File

@ -1,4 +1,4 @@
# $NetBSD: INSTALL_SMALL,v 1.129 2006/11/28 16:15:37 christos Exp $
# $NetBSD: INSTALL_SMALL,v 1.130 2006/11/28 16:24:55 christos Exp $
#
# INSTALL_SMALL - Small Installation kernel.
#
@ -22,7 +22,7 @@ options MEMORY_DISK_IS_ROOT # force root on memory disk
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
options MEMORY_DISK_ROOT_SIZE=3900 # size of memory disk, in blocks
makeoptions CPUFLAGS="-Os" # generates smaller code than -O2, -O1
makeoptions COPTS="-Os" # generates smaller code than -O2, -O1
maxusers 32 # estimated number of users

View File

@ -1,4 +1,4 @@
# $NetBSD: INSTALL_TINY,v 1.106 2006/11/28 16:15:37 christos Exp $
# $NetBSD: INSTALL_TINY,v 1.107 2006/11/28 16:24:55 christos Exp $
#
# This kernel should be derived from INSTALL (which is derived
# from GENERIC) with some features commented out.
@ -12,7 +12,7 @@ include "arch/i386/conf/std.i386"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
makeoptions CPUFLAGS="-Os" # Optimise for space. Implies -O2
makeoptions COPTS="-Os" # Optimise for space. Implies -O2
# Enable the hooks used for initializing the root memory-disk.
options MEMORY_DISK_HOOKS

View File

@ -1,4 +1,4 @@
# $NetBSD: INSTALL_XEN2_DOMU,v 1.6 2006/11/28 16:15:37 christos Exp $
# $NetBSD: INSTALL_XEN2_DOMU,v 1.7 2006/11/28 16:24:55 christos Exp $
include "arch/xen/conf/std.xen"
@ -6,7 +6,8 @@ options XEN
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
makeoptions CPUFLAGS="-Os -march=pentiumpro -mtune=i486"
makeoptions CPUFLAGS="-march=pentiumpro -mtune=i486"
makeoptions COPTS="-Os"
# Enable the hooks used for initializing the root memory-disk.
options MEMORY_DISK_HOOKS

View File

@ -1,4 +1,4 @@
# $NetBSD: NET4501,v 1.53 2006/11/28 16:15:37 christos Exp $
# $NetBSD: NET4501,v 1.54 2006/11/28 16:24:55 christos Exp $
#
# NET4501 -- kernel configuration for a Soekris Engineering net4501
# single-board computer.
@ -10,7 +10,7 @@ include "arch/i386/conf/std.i386"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "NET4501-$Revision: 1.53 $"
#ident "NET4501-$Revision: 1.54 $"
maxusers 32 # estimated number of users
@ -23,7 +23,8 @@ options I486_CPU
# AMD Elan SC520's timer runs at a different frequency
options TIMER_FREQ=1189200
makeoptions CPUFLAGS="-Os -march=i486 -mtune=i486"
makeoptions CPUFLAGS="-march=i486 -mtune=i486"
makeoptions COPTS="-Os"
# CPU-related options.
#options MATH_EMULATE # floating point emulation