Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/playstation2/conf The correct toolchain tuple is mi...
details: https://anonhg.NetBSD.org/src/rev/8674a4c52c40
branches: trunk
changeset: 330272:8674a4c52c40
user: martin <martin%NetBSD.org@localhost>
date: Wed Jul 02 12:44:15 2014 +0000
description:
The correct toolchain tuple is mipsel--netbsd (not netbsdelf)
diffstat:
sys/arch/playstation2/conf/Makefile.playstation2.inc | 6 +++---
sys/arch/playstation2/conf/build.playstation2.sh | 3 +--
2 files changed, 4 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r b829e07abf36 -r 8674a4c52c40 sys/arch/playstation2/conf/Makefile.playstation2.inc
--- a/sys/arch/playstation2/conf/Makefile.playstation2.inc Wed Jul 02 09:51:08 2014 +0000
+++ b/sys/arch/playstation2/conf/Makefile.playstation2.inc Wed Jul 02 12:44:15 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.playstation2.inc,v 1.6 2014/04/05 11:15:57 martin Exp $
+# $NetBSD: Makefile.playstation2.inc,v 1.7 2014/07/02 12:44:15 martin Exp $
.if !defined(EXTERNAL_TOOLCHAIN) || ${EXTERNAL_TOOLCHAIN}==""
.error please do not run "make" directly, use sh ../../conf/build.playstation2.sh instead
@@ -8,7 +8,7 @@
# not properly get picked up by mkdep in sub-makes for "make depend" of
# libkern and friends - XXX fix this
PREFIX=${EXTERNAL_TOOLCHAIN}
-PLATFORM=mipsel--netbsdelf
+PLATFORM=mipsel--netbsd
CC=${PREFIX}/bin/${PLATFORM}-gcc
CPP=${PREFIX}/bin/${PLATFORM}-cpp
@@ -21,5 +21,5 @@
STRIP=${PREFIX}/bin/${PLATFORM}-strip
# Playstation2 uses 128 bit access, which currently requires n32 ABI
-CFLAGS+= -mabi=n32 -march=r5900 -fno-pic
+CFLAGS+= -mabi=n32 -march=r5900 -fno-pic -msoft-float
AFLAGS+= -mabi=n32 -march=r5900 -fno-pic
diff -r b829e07abf36 -r 8674a4c52c40 sys/arch/playstation2/conf/build.playstation2.sh
--- a/sys/arch/playstation2/conf/build.playstation2.sh Wed Jul 02 09:51:08 2014 +0000
+++ b/sys/arch/playstation2/conf/build.playstation2.sh Wed Jul 02 12:44:15 2014 +0000
@@ -3,7 +3,7 @@
# This assumes the compiler comes from pkgsrc/cross/gcc-mips-current
# (as R5900 support is not available on other branches of gcc yet)
root=/usr/pkg
-target=mipsel--netbsdelf
+target=mipsel--netbsd
EXTERNAL_TOOLCHAIN=${root}; export EXTERNAL_TOOLCHAIN
LD=${root}/bin/${target}-ld; export LD
@@ -19,5 +19,4 @@
MAKE="make"; export MAKE
-set -x
exec $MAKE "$@"
Home |
Main Index |
Thread Index |
Old Index