If compiling with "options M68060", tell compiler not to use
instructions which have to be emulated by the operating system on that chip. This code will still run on M68020, M68030 and M68040, but might be a bit slower on those chips.
This commit is contained in:
parent
62cf945e80
commit
1c6c1c4af9
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.amiga,v 1.39 1996/02/29 20:55:13 cgd Exp $
|
||||
# $NetBSD: Makefile.amiga,v 1.40 1996/03/15 20:09:52 is Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
|
@ -34,7 +34,12 @@ AMIGA= ../..
|
|||
|
||||
INCLUDES= -I. -I$S/arch -I$S
|
||||
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Damiga
|
||||
CFLAGS= ${DEBUG} -O2 -Werror -mc68020 -msoft-float
|
||||
.if empty(IDENT:M-DM68060)
|
||||
CFLAGS= ${DEBUG} -O2 -Werror -m68020 -msoft-float ${COPTS}
|
||||
.else
|
||||
CFLAGS= ${DEBUG} -O2 -Werror -m68060 -msoft-float ${COPTS}
|
||||
.endif
|
||||
|
||||
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
|
||||
LINKFLAGS= -n -Ttext 0 -e start
|
||||
|
||||
|
|
Loading…
Reference in New Issue