summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-30 21:24:40 +0000
committerjlam <jlam>2002-09-30 21:24:40 +0000
commit07793cfbfd3fef841671fe3dc5450b73edfeac5c (patch)
tree5a1db7d79cdd2f089bbb0c573c32994771628073 /cross
parent64dd12f2bcd618239f981a23f52f8be03c03d379 (diff)
downloadpkgsrc-07793cfbfd3fef841671fe3dc5450b73edfeac5c.tar.gz
Use buildlink2 and use gcc/buildlink2.mk instead of Makefile.gcc.
Diffstat (limited to 'cross')
-rw-r--r--cross/mipseb-netbsd/Makefile5
-rw-r--r--cross/mipsel-netbsd/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/cross/mipseb-netbsd/Makefile b/cross/mipseb-netbsd/Makefile
index 34a55a2dc76..24dea4710d7 100644
--- a/cross/mipseb-netbsd/Makefile
+++ b/cross/mipseb-netbsd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2002/06/01 01:59:10 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.5 2002/09/30 21:24:40 jlam Exp $
#
DISTVERSION= 1.3.0.0
@@ -10,6 +10,7 @@ COMMENT= Cross-compile environment for NetBSD/mipseb
WRKSRC= ${WRKDIR}/${EGCS_DISTNAME}
+USE_BUILDLINK2= yes
USE_CROSS_BINUTILS= yes
BINUTILS_GNUTARGET= elf32-bigmips
BINUTILS_LDEMULATION= elf32bmip
@@ -20,7 +21,7 @@ TARGET_ARCH= mipseb-netbsd
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == sparc)
-.include "../../lang/gcc/Makefile.gcc"
+. include "../../lang/gcc/buildlink2.mk"
.endif
.include "../COMMON/cross.mk"
diff --git a/cross/mipsel-netbsd/Makefile b/cross/mipsel-netbsd/Makefile
index 28cdff3b69f..ef1509c1e32 100644
--- a/cross/mipsel-netbsd/Makefile
+++ b/cross/mipsel-netbsd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2002/05/31 22:46:40 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.4 2002/09/30 21:24:40 jlam Exp $
#
DISTVERSION= 1.3.0.0
@@ -10,6 +10,7 @@ COMMENT= Cross-compile environment for NetBSD/mipsel
WRKSRC= ${WRKDIR}/${EGCS_DISTNAME}
+USE_BUILDLINK2= yes
USE_CROSS_BINUTILS= yes
BINUTILS_GNUTARGET= elf32-littlemips
BINUTILS_LDEMULATION= elf32lmip
@@ -20,7 +21,7 @@ TARGET_ARCH= mipsel-netbsd
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == sparc)
-.include "../../lang/gcc/Makefile.gcc"
+. include "../../lang/gcc/buildlink2.mk"
.endif
.include "../COMMON/cross.mk"