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 Try with EXTERNAL_TOOLCHAIN inste...
details: https://anonhg.NetBSD.org/src/rev/b73c4f89df9e
branches: trunk
changeset: 328513:b73c4f89df9e
user: martin <martin%NetBSD.org@localhost>
date: Sat Apr 05 11:15:57 2014 +0000
description:
Try with EXTERNAL_TOOLCHAIN instead of MISSING_TOOLCHAIN.
Still fails the same.
diffstat:
sys/arch/playstation2/conf/Makefile.playstation2.inc | 8 ++++----
sys/arch/playstation2/conf/build.playstation2.sh | 5 ++---
2 files changed, 6 insertions(+), 7 deletions(-)
diffs (38 lines):
diff -r 362a6e265016 -r b73c4f89df9e sys/arch/playstation2/conf/Makefile.playstation2.inc
--- a/sys/arch/playstation2/conf/Makefile.playstation2.inc Sat Apr 05 11:07:30 2014 +0000
+++ b/sys/arch/playstation2/conf/Makefile.playstation2.inc Sat Apr 05 11:15:57 2014 +0000
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile.playstation2.inc,v 1.5 2014/03/31 11:43:53 martin Exp $
+# $NetBSD: Makefile.playstation2.inc,v 1.6 2014/04/05 11:15:57 martin Exp $
-.if !defined(TOOLCHAIN_MISSING) || ${TOOLCHAIN_MISSING}=="no"
+.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=/usr/pkg
-PLATFORM=mips--netbsdelf
+PREFIX=${EXTERNAL_TOOLCHAIN}
+PLATFORM=mipsel--netbsdelf
CC=${PREFIX}/bin/${PLATFORM}-gcc
CPP=${PREFIX}/bin/${PLATFORM}-cpp
diff -r 362a6e265016 -r b73c4f89df9e sys/arch/playstation2/conf/build.playstation2.sh
--- a/sys/arch/playstation2/conf/build.playstation2.sh Sat Apr 05 11:07:30 2014 +0000
+++ b/sys/arch/playstation2/conf/build.playstation2.sh Sat Apr 05 11:15:57 2014 +0000
@@ -3,10 +3,9 @@
# 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=mips--netbsdelf
+target=mipsel--netbsdelf
-TOOLCHAIN_MISSING=yes; export TOOLCHAIN_MISSING
-
+EXTERNAL_TOOLCHAIN=${root}; export EXTERNAL_TOOLCHAIN
LD=${root}/bin/${target}-ld; export LD
CC=${root}/bin/${target}-gcc; export CC
CXX=${root}/bin/${target}-g++; export CXX
Home |
Main Index |
Thread Index |
Old Index