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.
This commit is contained in:
mrg 2011-07-10 08:42:55 +00:00
parent 2a4f285a6d
commit e296792cca
2 changed files with 2 additions and 4 deletions

View File

@ -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 @@ CFLAGS= -O2 -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128
AFLAGS+= -mips3 -mabi=32
CFLAGS+= -mips3 -mabi=32
LINKFORMAT= -m elf32ltsmip
MACHINE_ARCH= mipsel
.endif
CFLAGS+= -Wall -Werror

View File

@ -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 @@ LDBUG= -T $S/arch/mips/conf/stand.ldscript
AFLAGS+= -mips3 -mabi=32
CFLAGS+= -mips3 -mabi=32
LDBUG+= -m elf32ltsmip
MACHINE_ARCH= mipsel
.endif
NETBSD_VERS!= ${HOST_SH} ${.CURDIR}/../../../../conf/osrelease.sh