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 Simplify now that we have an inte...



details:   https://anonhg.NetBSD.org/src/rev/7db6077d44dd
branches:  trunk
changeset: 814571:7db6077d44dd
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Mar 28 10:31:45 2016 +0000

description:
Simplify now that we have an internal toolchain

diffstat:

 sys/arch/playstation2/conf/Makefile.playstation2.inc |  24 +------------------
 1 files changed, 2 insertions(+), 22 deletions(-)

diffs (31 lines):

diff -r c44031c33e4e -r 7db6077d44dd sys/arch/playstation2/conf/Makefile.playstation2.inc
--- a/sys/arch/playstation2/conf/Makefile.playstation2.inc      Mon Mar 28 09:50:40 2016 +0000
+++ b/sys/arch/playstation2/conf/Makefile.playstation2.inc      Mon Mar 28 10:31:45 2016 +0000
@@ -1,25 +1,5 @@
-#      $NetBSD: Makefile.playstation2.inc,v 1.9 2015/04/06 10:49:13 martin Exp $
-
-.if !defined(EXTERNAL_TOOLCHAIN) || ${EXTERNAL_TOOLCHAIN}==""
-.error please do not run "make" directly, use sh ../../conf/build.playstation2.sh instead
-.endif
-
-# working around makesystem bugs: redefine CC and friends here or it does
-# 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--netbsd
-
-CC=${PREFIX}/bin/${PLATFORM}-gcc
-CPP=${PREFIX}/bin/${PLATFORM}-cpp
-AS=${PREFIX}/bin/${PLATFORM}-as
-AR=${PREFIX}/bin/${PLATFORM}-ar
-LD=${PREFIX}/bin/${PLATFORM}-ld
-RANLIB=${PREFIX}/bin/${PLATFORM}-ranlib
-NM=${PREFIX}/bin/${PLATFORM}-nm
-SIZE=${PREFIX}/bin/${PLATFORM}-size
-STRIP=${PREFIX}/bin/${PLATFORM}-strip
+#      $NetBSD: Makefile.playstation2.inc,v 1.10 2016/03/28 10:31:45 martin Exp $
 
 # Playstation2 uses 128 bit access, which currently requires n32 ABI
-CFLAGS+= -mabi=n32 -march=r5900 -fno-pic -msoft-float -Wa,-msoft-float
+CFLAGS+= -mabi=n32 -march=r5900 -fno-pic -msoft-float
 AFLAGS+= -mabi=n32 -march=r5900 -fno-pic -msoft-float



Home | Main Index | Thread Index | Old Index