Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun68k/stand avoid confusion with 68010 and 68020. ...



details:   https://anonhg.NetBSD.org/src/rev/e24c0199818a
branches:  trunk
changeset: 791155:e24c0199818a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 07 00:43:15 2013 +0000

description:
avoid confusion with 68010 and 68020. The sun3 always was a 68020, and
the code assumes that.

diffstat:

 sys/arch/sun68k/stand/Makefile.inc   |  4 ++--
 sys/arch/sun68k/stand/libsa/Makefile |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 2f8e7229eef4 -r e24c0199818a sys/arch/sun68k/stand/Makefile.inc
--- a/sys/arch/sun68k/stand/Makefile.inc        Thu Nov 07 00:42:42 2013 +0000
+++ b/sys/arch/sun68k/stand/Makefile.inc        Thu Nov 07 00:43:15 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.19 2013/08/12 16:34:05 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.20 2013/11/07 00:43:15 christos Exp $
 
 # Must have S=/usr/src/sys (or equivalent)
 # But note: this is w.r.t. a subdirectory
@@ -18,7 +18,7 @@
 DEFS?= -Dsun3 -D_STANDALONE -D__daddr_t=int32_t
 INCL?= -I. -I${.CURDIR} -I${.CURDIR}/../libsa -I${S}/lib/libsa -I${S}
 
-CPUFLAGS= -mc68000 -Wa,-mc68010
+CPUFLAGS= -m68020 -Wa,-mc68020
 COPTS= -Os -fno-defer-pop -ffreestanding -fno-unwind-tables
 CFLAGS= -msoft-float
 CPPFLAGS= ${DEFS} ${DEBUG} ${INCL}
diff -r 2f8e7229eef4 -r e24c0199818a sys/arch/sun68k/stand/libsa/Makefile
--- a/sys/arch/sun68k/stand/libsa/Makefile      Thu Nov 07 00:42:42 2013 +0000
+++ b/sys/arch/sun68k/stand/libsa/Makefile      Thu Nov 07 00:43:15 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.29 2013/08/12 16:34:05 joerg Exp $
+#      $NetBSD: Makefile,v 1.30 2013/11/07 00:43:15 christos Exp $
 
 # Logically src/sys
 S!= cd ${.CURDIR}/../../../..; pwd
@@ -12,8 +12,8 @@
 CPUFLAGS=      # ignore settings in /etc/mk.conf
 DEFS= -Dsun3 -D_STANDALONE -D__daddr_t=int32_t
 INCL= -I. -I${.CURDIR} -I${S}/lib/libsa -I${S} -I${S}/arch
-AFLAGS= -Wa,-mc68020 -Wa,-mc68851
-CFLAGS= -mc68000 -Wa,-mc68010 -Wa,-m68851 -msoft-float
+AFLAGS= -Wa,-m68020 -Wa,-m68851
+CFLAGS= -m68020 ${AFLAGS} -msoft-float
 CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
 COPTS= -Os -fno-defer-pop -ffreestanding -fno-unwind-tables
 CPPFLAGS= ${DEFS} ${DEBUG} ${INCL}



Home | Main Index | Thread Index | Old Index