CMACHFLAGS defaults to -m68020-60.

Can be overridden in config files; add examples.
This commit is contained in:
minoura 2000-12-29 15:18:37 +00:00
parent 271adbd54e
commit 9132306dbc
5 changed files with 26 additions and 22 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: ALL,v 1.37 2000/09/24 15:59:38 jdolecek Exp $
# $NetBSD: ALL,v 1.38 2000/12/29 15:18:37 minoura Exp $
#
# ALL -- everything that's currently supported
@ -6,7 +6,7 @@
include "arch/x68k/conf/std.x68k"
#ident "ALL-$Revision: 1.37 $"
#ident "ALL-$Revision: 1.38 $"
maxusers 32
@ -18,6 +18,10 @@ maxusers 32
options M68030
options M68040
options M68060
## If you want an optimized kernel for a specific processor, use either:
#makeoptions CMACHFLAGS="-m68030"
#makeoptions CMACHFLAGS="-m68040 -Wa,-m68030 -Wa,-m68851"
#makeoptions CMACHFLAGS="-m68060 -Wa,-m68030 -Wa,-m68851"
#### System options specific to the x68k port

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC,v 1.54 2000/12/19 10:42:07 bouyer Exp $
# $NetBSD: GENERIC,v 1.55 2000/12/29 15:18:37 minoura Exp $
#
# GENERIC
@ -6,7 +6,7 @@
include "arch/x68k/conf/std.x68k"
#ident "GENERIC-$Revision: 1.54 $"
#ident "GENERIC-$Revision: 1.55 $"
maxusers 8
@ -18,6 +18,10 @@ maxusers 8
options M68030
options M68040
options M68060
## If you want an optimized kernel for a specific processor, use either:
#makeoptions CMACHFLAGS="-m68030"
#makeoptions CMACHFLAGS="-m68040 -Wa,-m68030 -Wa,-m68851"
#makeoptions CMACHFLAGS="-m68060 -Wa,-m68030 -Wa,-m68851"
#### System options specific to the x68k port

View File

@ -1,4 +1,4 @@
# $NetBSD: INSTALL,v 1.36 2000/11/29 14:45:27 minoura Exp $
# $NetBSD: INSTALL,v 1.37 2000/12/29 15:18:37 minoura Exp $
#
# INSTALL -- installation kernel.
@ -6,7 +6,7 @@
include "arch/x68k/conf/std.x68k"
#ident "INSTALL-$Revision: 1.36 $"
#ident "INSTALL-$Revision: 1.37 $"
makeoptions COPTS="-Os" # Optimise for space. Implies -O2
@ -28,6 +28,10 @@ options MINIROOTSIZE=2400
options M68030
options M68040
options M68060
## If you want an optimized kernel for a specific processor, use either:
#makeoptions CMACHFLAGS="-m68030"
#makeoptions CMACHFLAGS="-m68040 -Wa,-m68030 -Wa,-m68851"
#makeoptions CMACHFLAGS="-m68060 -Wa,-m68030 -Wa,-m68851"
#### System options specific to the x68k port

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.x68k,v 1.48 2000/12/17 15:52:44 jdolecek Exp $
# $NetBSD: Makefile.x68k,v 1.49 2000/12/29 15:18:37 minoura Exp $
# Makefile for NetBSD
#
@ -41,19 +41,7 @@ X68K= $S/arch/x68k
HAVE_EGCS!= ${CC} --version | egrep "^(2\.8|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dx68k
M68060!= ( echo '\#include "opt_m680x0.h"'; \
echo '\#ifdef M68060'; \
echo '1'; \
echo '\#else'; \
echo '0'; \
echo '\#endif' ) \
| ${CPP} | sed -e '/^\#/d' -e '/^$$/d'
.if ${M68060}
CMACHFLAGS= -m68020-60 -Wa,-m68030 -Wa,-m68851
.else
CMACHFLAGS= -m68030
.endif
CMACHFLAGS?= -m68020-60 -Wa,-m68030 -Wa,-m68851
CWARNFLAGS?= -Werror -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: TOKOCHAN,v 1.15 2000/09/24 15:59:39 jdolecek Exp $
# $NetBSD: TOKOCHAN,v 1.16 2000/12/29 15:18:38 minoura Exp $
#
# TOKOCHAN -- Believe in the BSD power; Toko to issyo-ni make all!
@ -6,7 +6,7 @@
include "arch/x68k/conf/std.x68k"
#ident "TOKOCHAN-$Revision: 1.15 $"
#ident "TOKOCHAN-$Revision: 1.16 $"
maxusers 10
@ -18,6 +18,10 @@ maxusers 10
options M68030
options M68040
#options M68060
## If you want an optimized kernel for a specific processor, use either:
#makeoptions CMACHFLAGS="-m68030"
#makeoptions CMACHFLAGS="-m68040 -Wa,-m68030 -Wa,-m68851"
#makeoptions CMACHFLAGS="-m68060 -Wa,-m68030 -Wa,-m68851"
#### System options specific to the x68k port