diff options
author | tv <tv@pkgsrc.org> | 1999-01-06 03:43:04 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1999-01-06 03:43:04 +0000 |
commit | fc9c3bdb9613797066c08cfc5eaf9e1105e2719d (patch) | |
tree | 1d921672efd0fa33d9ee4803b00c004920ce9e97 /cross | |
parent | 23ab7ed92f939d1ee23fa255fb86fad8d5c7d89d (diff) | |
download | pkgsrc-fc9c3bdb9613797066c08cfc5eaf9e1105e2719d.tar.gz |
Add cross-sparc64-netbsd, similar setup as cross-powerpc-netbsd.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/sparc64-netbsd/Makefile | 20 | ||||
-rw-r--r-- | cross/sparc64-netbsd/files/md5 | 5 | ||||
-rw-r--r-- | cross/sparc64-netbsd/patches/patch-aa | 21 | ||||
-rw-r--r-- | cross/sparc64-netbsd/pkg/COMMENT | 1 | ||||
-rw-r--r-- | cross/sparc64-netbsd/pkg/DESCR | 1 | ||||
-rw-r--r-- | cross/sparc64-netbsd/pkg/MESSAGE | 12 | ||||
-rw-r--r-- | cross/sparc64-netbsd/pkg/PLIST | 1 |
7 files changed, 61 insertions, 0 deletions
diff --git a/cross/sparc64-netbsd/Makefile b/cross/sparc64-netbsd/Makefile new file mode 100644 index 00000000000..168a46a43f3 --- /dev/null +++ b/cross/sparc64-netbsd/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/01/06 03:43:04 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= elf64-sparc +BINUTILS_LDEMULATION= elf64_sparc +USE_CROSS_EGCS= yes +EGCS_FAKE_RUNTIME= yes + +TARGET_ARCH= sparc64-netbsd + +.include "../COMMON/cross.mk" diff --git a/cross/sparc64-netbsd/files/md5 b/cross/sparc64-netbsd/files/md5 new file mode 100644 index 00000000000..789fb978450 --- /dev/null +++ b/cross/sparc64-netbsd/files/md5 @@ -0,0 +1,5 @@ +$NetBSD: md5,v 1.1.1.1 1999/01/06 03:43:04 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/sparc64-netbsd/patches/patch-aa b/cross/sparc64-netbsd/patches/patch-aa new file mode 100644 index 00000000000..408ab5ce8bd --- /dev/null +++ b/cross/sparc64-netbsd/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/01/06 03:43:05 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/sparc64-netbsd/pkg/COMMENT b/cross/sparc64-netbsd/pkg/COMMENT new file mode 100644 index 00000000000..3ece50b3842 --- /dev/null +++ b/cross/sparc64-netbsd/pkg/COMMENT @@ -0,0 +1 @@ +Cross-compile environment for NetBSD/powerpc diff --git a/cross/sparc64-netbsd/pkg/DESCR b/cross/sparc64-netbsd/pkg/DESCR new file mode 100644 index 00000000000..051c5b5ec62 --- /dev/null +++ b/cross/sparc64-netbsd/pkg/DESCR @@ -0,0 +1 @@ +This cross-compile environment is for NetBSD/powerpc. diff --git a/cross/sparc64-netbsd/pkg/MESSAGE b/cross/sparc64-netbsd/pkg/MESSAGE new file mode 100644 index 00000000000..bf28b1d2698 --- /dev/null +++ b/cross/sparc64-netbsd/pkg/MESSAGE @@ -0,0 +1,12 @@ +============================================================================= +$NetBSD: MESSAGE,v 1.1.1.1 1999/01/06 03:43:05 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}/sparc64-netbsd/include and +${CROSSBASE}/sparc64-netbsd/lib respectively, or symlink these paths to +the appropriate places. + +============================================================================= diff --git a/cross/sparc64-netbsd/pkg/PLIST b/cross/sparc64-netbsd/pkg/PLIST new file mode 100644 index 00000000000..527b7851f2a --- /dev/null +++ b/cross/sparc64-netbsd/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/01/06 03:43:05 tv Exp $ |