summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authortv <tv>1999-02-03 13:00:43 +0000
committertv <tv>1999-02-03 13:00:43 +0000
commite29b5f8146935f4e3e76932dede497d28820930e (patch)
tree71f5d068df302ed19f94a9bf98a90a15a66c542e /cross
parent6d9715df93842adf9365e74daa487d8facf16b62 (diff)
downloadpkgsrc-e29b5f8146935f4e3e76932dede497d28820930e.tar.gz
Add sparc-netbsdelf by request of mrg.
Diffstat (limited to 'cross')
-rw-r--r--cross/sparc-netbsdelf/Makefile20
-rw-r--r--cross/sparc-netbsdelf/files/md55
-rw-r--r--cross/sparc-netbsdelf/patches/patch-aa21
-rw-r--r--cross/sparc-netbsdelf/pkg/COMMENT1
-rw-r--r--cross/sparc-netbsdelf/pkg/DESCR1
-rw-r--r--cross/sparc-netbsdelf/pkg/MESSAGE12
-rw-r--r--cross/sparc-netbsdelf/pkg/PLIST1
7 files changed, 61 insertions, 0 deletions
diff --git a/cross/sparc-netbsdelf/Makefile b/cross/sparc-netbsdelf/Makefile
new file mode 100644
index 00000000000..d6555c2eb30
--- /dev/null
+++ b/cross/sparc-netbsdelf/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/02/03 13:00:43 tv Exp $
+#
+
+DISTVERSION= 1.3.0.0
+DISTFILES= # none
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.netbsd.org/
+
+WRKSRC= ${WRKDIR}/${BINUTILS_DISTNAME}
+
+USE_CROSS_BINUTILS= yes
+BINUTILS_GNUTARGET= elf32-sparc
+BINUTILS_LDEMULATION= elf32_sparc
+USE_CROSS_EGCS= yes
+EGCS_FAKE_RUNTIME= yes
+
+TARGET_ARCH= sparc-netbsdelf
+
+.include "../COMMON/cross.mk"
diff --git a/cross/sparc-netbsdelf/files/md5 b/cross/sparc-netbsdelf/files/md5
new file mode 100644
index 00000000000..d2d53be1c53
--- /dev/null
+++ b/cross/sparc-netbsdelf/files/md5
@@ -0,0 +1,5 @@
+$NetBSD: md5,v 1.1.1.1 1999/02/03 13:00:43 tv Exp $
+
+MD5 (binutils-2.9.1.tar.gz) = 8f9ad1a6e96742fd3069479171a63c22
+MD5 (egcs-1.1.1.tar.gz) = 0b3f0e856dcbb2241c183081fc7271af
+MD5 (egcs-1.1.1-NetBSD-19980104.diff.gz) = 8c4d952d999ead62f6604948c65c2454
diff --git a/cross/sparc-netbsdelf/patches/patch-aa b/cross/sparc-netbsdelf/patches/patch-aa
new file mode 100644
index 00000000000..c94c3cc8eeb
--- /dev/null
+++ b/cross/sparc-netbsdelf/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/02/03 13:00:43 tv Exp $
+
+--- ./gas/configure.orig Fri May 1 11:45:07 1998
++++ ./gas/configure Mon Dec 28 17:43:29 1998
+@@ -1610,7 +1613,15 @@
+ sparc-fujitsu-none) fmt=aout ;;
+ sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*)
+ fmt=elf ;;
+- sparc-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
++ sparc-*-netbsd*) em=nbsd bfd_gas=yes
++ case ${cpu} in
++ sparc) case ${os} in
++ *elf*) fmt=elf ;;
++ *) fmt=aout ;;
++ esac ;;
++ sparc64) fmt=elf ;;
++ esac
++ ;;
+ sparc-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
+
+ tic30-*-*aout*) fmt=aout bfd_gas=yes ;;
diff --git a/cross/sparc-netbsdelf/pkg/COMMENT b/cross/sparc-netbsdelf/pkg/COMMENT
new file mode 100644
index 00000000000..2cc1b301588
--- /dev/null
+++ b/cross/sparc-netbsdelf/pkg/COMMENT
@@ -0,0 +1 @@
+Cross-compile environment for NetBSD/sparc with ELF objects
diff --git a/cross/sparc-netbsdelf/pkg/DESCR b/cross/sparc-netbsdelf/pkg/DESCR
new file mode 100644
index 00000000000..72a492be827
--- /dev/null
+++ b/cross/sparc-netbsdelf/pkg/DESCR
@@ -0,0 +1 @@
+This cross-compile environment is for NetBSD/sparc with ELF objects.
diff --git a/cross/sparc-netbsdelf/pkg/MESSAGE b/cross/sparc-netbsdelf/pkg/MESSAGE
new file mode 100644
index 00000000000..511faad85a4
--- /dev/null
+++ b/cross/sparc-netbsdelf/pkg/MESSAGE
@@ -0,0 +1,12 @@
+=============================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 1999/02/03 13:00:43 tv Exp $
+
+This pkg DOES NOT install headers or runtime link libraries. Only the
+compilers are installed.
+
+In order to have a complete development setup, you need to install
+includes and libraries in ${CROSSBASE}/sparc-netbsdelf/include and
+${CROSSBASE}/sparc-netbsdelf/lib respectively, or symlink these paths to
+the appropriate places.
+
+=============================================================================
diff --git a/cross/sparc-netbsdelf/pkg/PLIST b/cross/sparc-netbsdelf/pkg/PLIST
new file mode 100644
index 00000000000..4ee9bf540f9
--- /dev/null
+++ b/cross/sparc-netbsdelf/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/02/03 13:00:43 tv Exp $