Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/stand/bootblock Use different option (-mcpu=6...
details: https://anonhg.NetBSD.org/src/rev/360a5da73276
branches: trunk
changeset: 328196:360a5da73276
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sat Mar 29 12:52:56 2014 +0000
description:
Use different option (-mcpu=68030) to select target cpu for the assembler.
The old option (-m68030) causes it to complain about features used that
are not provided by the target cpu.
diffstat:
sys/arch/amiga/stand/bootblock/boot/Makefile | 8 ++++----
sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile | 6 +++---
sys/arch/amiga/stand/bootblock/ppcboot/Makefile | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
diffs (68 lines):
diff -r 6787fa81c1f8 -r 360a5da73276 sys/arch/amiga/stand/bootblock/boot/Makefile
--- a/sys/arch/amiga/stand/bootblock/boot/Makefile Sat Mar 29 12:49:15 2014 +0000
+++ b/sys/arch/amiga/stand/bootblock/boot/Makefile Sat Mar 29 12:52:56 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2013/08/21 08:04:50 matt Exp $
+# $NetBSD: Makefile,v 1.50 2014/03/29 12:52:56 mlelstv Exp $
.include <bsd.own.mk>
.include <bsd.sys.mk> # for HOST_SH
@@ -81,11 +81,11 @@
INCPATH += -I${.CURDIR}/../../.. -I${.OBJDIR}
INCPATH += -I${.CURDIR}/../elf2bb
-AFLAGS += -m68030 -l
-CAFLAGS += -Wa,-l -Wa,-m68030 ${INCPATH}
+AFLAGS += -mcpu=68030 -l
+CAFLAGS += -Wa,-l -Wa,-mcpu=68030 ${INCPATH}
COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
-COPTIM+= -Wa,-l -m68060 -Wa,-m68030 -fno-unwind-tables
+COPTIM+= -Wa,-l -m68060 -Wa,-mcpu=68030 -fno-unwind-tables
CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS}
CFLAGS+= -Werror
CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
diff -r 6787fa81c1f8 -r 360a5da73276 sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile
--- a/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile Sat Mar 29 12:49:15 2014 +0000
+++ b/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile Sat Mar 29 12:52:56 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2013/08/21 08:04:50 matt Exp $
+# $NetBSD: Makefile,v 1.21 2014/03/29 12:52:56 mlelstv Exp $
### what we need:
@@ -53,10 +53,10 @@
INCPATH += -I${.CURDIR}/../elf2bb -I${.OBJDIR}
AFLAGS += -m68030 -l
-CAFLAGS += -Wa,-l -Wa,-m68030 ${INCPATH} -D_PRIMARY_BOOT
+CAFLAGS += -Wa,-l -Wa,-mcpu=68030 ${INCPATH} -D_PRIMARY_BOOT
COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
-COPTIM+= -Wa,-l -m68060 -Wa,-m68030 -fno-unwind-tables
+COPTIM+= -Wa,-l -m68060 -Wa,-mcpu=68030 -fno-unwind-tables
CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes
NETBSD_VERS!= ${HOST_SH} ${.CURDIR}/../../../../../conf/osrelease.sh
diff -r 6787fa81c1f8 -r 360a5da73276 sys/arch/amiga/stand/bootblock/ppcboot/Makefile
--- a/sys/arch/amiga/stand/bootblock/ppcboot/Makefile Sat Mar 29 12:49:15 2014 +0000
+++ b/sys/arch/amiga/stand/bootblock/ppcboot/Makefile Sat Mar 29 12:52:56 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2014/03/18 18:20:40 riastradh Exp $
+# $NetBSD: Makefile,v 1.12 2014/03/29 12:52:56 mlelstv Exp $
### what we need:
@@ -41,10 +41,10 @@
INCPATH = -I${DIR_TOP} -I${DIR_TOP}/lib/libsa -I${DIR_BOOT} -I${.CURDIR} -I${.CURDIR}/../../.. -I${.CURDIR}/../elf2bb -I${.OBJDIR}
AFLAGS += -m68030 -l
-CAFLAGS += -Wa,-l -Wa,-m68030 ${INCPATH}
+CAFLAGS += -Wa,-l -Wa,-mcpu=68030 ${INCPATH}
COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
-COPTIM+= -Wa,-l -m68060 -Wa,-m68030 -fno-unwind-tables
+COPTIM+= -Wa,-l -m68060 -Wa,-mcpu=68030 -fno-unwind-tables
CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes
.c.o:
Home |
Main Index |
Thread Index |
Old Index