Date: Sat, 6 Jan 2007 20:24:09 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 112620 for review Message-ID: <200701062024.l06KO9Vr058562@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112620 Change 112620 by gonzo@gonzo_hq on 2007/01/06 20:23:32 o Enable softfloat for mips port. Leave float copropcessor until we get real hardware to fight with. Affected files ... .. //depot/projects/mips2/src/lib/libc/Makefile#2 edit .. //depot/projects/mips2/src/share/mk/bsd.cpu.mk#5 edit Differences ... ==== //depot/projects/mips2/src/lib/libc/Makefile#2 (text+ko) ==== @@ -57,7 +57,7 @@ .include "${.CURDIR}/rpc/Makefile.inc" .include "${.CURDIR}/uuid/Makefile.inc" .include "${.CURDIR}/xdr/Makefile.inc" -.if ${MACHINE_ARCH} == "arm" +.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "mips" .include "${.CURDIR}/softfloat/Makefile.inc" .endif .if ${MK_NIS} != "no" ==== //depot/projects/mips2/src/share/mk/bsd.cpu.mk#5 (text+ko) ==== @@ -204,10 +204,13 @@ LD += -EB .endif -.if ${MACHINE_ARCH} == "mips" && defined(MIPS_LITTLE_ENDIAN) +.if ${MACHINE_ARCH} == "mips" +. if defined(MIPS_LITTLE_ENDIAN) _CPUCFLAGS += -EL LDFLAGS += -Wl,-EL LD += -EL +. endif +_CPUCFLAGS += -msoft-float .endif # NB: COPTFLAGS is handled in /usr/src/sys/conf/kern.pre.mk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701062024.l06KO9Vr058562>