The correct toolchain tuple is mipsel--netbsd (not netbsdelf)
This commit is contained in:
parent
a4bec2dd1b
commit
377dd2856e
@ -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 @@ SIZE=${PREFIX}/bin/${PLATFORM}-size
|
||||
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
|
||||
|
@ -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 @@ STRIP=${root}/bin/${target}-strip; export STRIP
|
||||
|
||||
MAKE="make"; export MAKE
|
||||
|
||||
set -x
|
||||
exec $MAKE "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user