Source-Changes-HG archive

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

[src/trunk]: src/sys/arch don't set MACHINE_ARCH. the CPUFLAGS/etc. is enoug...



details:   https://anonhg.NetBSD.org/src/rev/5c43e03ee1ca
branches:  trunk
changeset: 767172:5c43e03ee1ca
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jul 10 08:42:55 2011 +0000

description:
don't set MACHINE_ARCH.  the CPUFLAGS/etc. is enough, and otherwise this
doesn't work with an isolated $TOOLDIR from the mipse[lb] toolchain.

diffstat:

 sys/arch/cobalt/stand/boot/Makefile  |  3 +--
 sys/arch/pmax/stand/Makefile.booters |  3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r b3b0e1dc1942 -r 5c43e03ee1ca sys/arch/cobalt/stand/boot/Makefile
--- a/sys/arch/cobalt/stand/boot/Makefile       Sun Jul 10 07:54:49 2011 +0000
+++ b/sys/arch/cobalt/stand/boot/Makefile       Sun Jul 10 08:42:55 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.24 2011/07/09 15:50:38 matt Exp $
+#      $NetBSD: Makefile,v 1.25 2011/07/10 08:42:55 mrg Exp $
 
 NOMAN= # defined
 
@@ -58,7 +58,6 @@
 AFLAGS+=       -mips3 -mabi=32
 CFLAGS+=       -mips3 -mabi=32
 LINKFORMAT=    -m elf32ltsmip
-MACHINE_ARCH=  mipsel
 .endif
 
 CFLAGS+=       -Wall -Werror
diff -r b3b0e1dc1942 -r 5c43e03ee1ca sys/arch/pmax/stand/Makefile.booters
--- a/sys/arch/pmax/stand/Makefile.booters      Sun Jul 10 07:54:49 2011 +0000
+++ b/sys/arch/pmax/stand/Makefile.booters      Sun Jul 10 08:42:55 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.booters,v 1.56 2011/02/20 07:50:25 matt Exp $
+# $NetBSD: Makefile.booters,v 1.57 2011/07/10 08:42:55 mrg Exp $
 
 NOMAN=         # defined
 
@@ -31,7 +31,6 @@
 AFLAGS+=       -mips3 -mabi=32
 CFLAGS+=       -mips3 -mabi=32
 LDBUG+=                -m elf32ltsmip
-MACHINE_ARCH=  mipsel
 .endif
 
 NETBSD_VERS!=  ${HOST_SH} ${.CURDIR}/../../../../conf/osrelease.sh



Home | Main Index | Thread Index | Old Index