Mon Mar 28 10:31:45 2016 UTC ()
Simplify now that we have an internal toolchain


(martin)
diff -r1.9 -r1.10 src/sys/arch/playstation2/conf/Makefile.playstation2.inc

cvs diff -r1.9 -r1.10 src/sys/arch/playstation2/conf/Makefile.playstation2.inc (expand / switch to unified diff)

--- src/sys/arch/playstation2/conf/Makefile.playstation2.inc 2015/04/06 10:49:13 1.9
+++ src/sys/arch/playstation2/conf/Makefile.playstation2.inc 2016/03/28 10:31:45 1.10
@@ -1,25 +1,5 @@ @@ -1,25 +1,5 @@
1# $NetBSD: Makefile.playstation2.inc,v 1.9 2015/04/06 10:49:13 martin Exp $ 1# $NetBSD: Makefile.playstation2.inc,v 1.10 2016/03/28 10:31:45 martin Exp $
2 
3.if !defined(EXTERNAL_TOOLCHAIN) || ${EXTERNAL_TOOLCHAIN}=="" 
4.error please do not run "make" directly, use sh ../../conf/build.playstation2.sh instead 
5.endif 
6 
7# working around makesystem bugs: redefine CC and friends here or it does 
8# not properly get picked up by mkdep in sub-makes for "make depend" of 
9# libkern and friends - XXX fix this 
10PREFIX=${EXTERNAL_TOOLCHAIN} 
11PLATFORM=mipsel--netbsd 
12 
13CC=${PREFIX}/bin/${PLATFORM}-gcc 
14CPP=${PREFIX}/bin/${PLATFORM}-cpp 
15AS=${PREFIX}/bin/${PLATFORM}-as 
16AR=${PREFIX}/bin/${PLATFORM}-ar 
17LD=${PREFIX}/bin/${PLATFORM}-ld 
18RANLIB=${PREFIX}/bin/${PLATFORM}-ranlib 
19NM=${PREFIX}/bin/${PLATFORM}-nm 
20SIZE=${PREFIX}/bin/${PLATFORM}-size 
21STRIP=${PREFIX}/bin/${PLATFORM}-strip 
22 2
23# Playstation2 uses 128 bit access, which currently requires n32 ABI 3# Playstation2 uses 128 bit access, which currently requires n32 ABI
24CFLAGS+= -mabi=n32 -march=r5900 -fno-pic -msoft-float -Wa,-msoft-float 4CFLAGS+= -mabi=n32 -march=r5900 -fno-pic -msoft-float
25AFLAGS+= -mabi=n32 -march=r5900 -fno-pic -msoft-float 5AFLAGS+= -mabi=n32 -march=r5900 -fno-pic -msoft-float