Remove ppc-morphos-*

All of them have been imported into pkgsrc.
This commit is contained in:
Jonathan Schleifer 2020-04-15 00:07:22 +02:00
parent 4e26050fcb
commit 6c8a99af17
No known key found for this signature in database
GPG Key ID: E2BCCE6B35E1AF8B
16 changed files with 0 additions and 3639 deletions

View File

@ -1 +0,0 @@
Binutils for ppc-morphos

View File

@ -1,43 +0,0 @@
# $NetBSD$
DISTNAME= sdk-source-20191111
PKGNAME= ppc-morphos-binutils-2.33.1
CATEGORIES= cross
MASTER_SITES= https://morphos-team.net/files/src/sdk/
EXTRACT_SUFX= .tar.xz
MAINTAINER= js-pkgsrc@heap.zone
HOMEPAGE= https://www.morphos-team.net/
COMMENT= Binutils for ppc-morphos
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/sdk-source/binutils/binutils-${PKGVERSION_NOREV}
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= xzcat gtar patch gmake makeinfo
OBJDIR= ../build
CONFIGURE_DIRS= ${OBJDIR}
CONFIGURE_SCRIPT= ${WRKSRC}/configure
GNU_CONFIGURE_PREFIX= ${PREFIX}/gg
CONFIGURE_ARGS+= --target=ppc-morphos
CONFIGURE_ARGS+= --enable-plugins=no
CONFIGURE_ARGS+= --disable-initfini-array
CONFIGURE_ARGS+= --disable-nls
CONFIGURE_ARGS+= CFLAGS="${CFLAGS} -DMORPHOS_TARGET"
post-extract:
${RUN} cd ${WRKDIR}/sdk-source/binutils && \
${XZCAT} binutils-${PKGVERSION_NOREV}.tar.xz | ${GTAR} xf -
do-patch:
${RUN} cd ${WRKDIR}/sdk-source/binutils && \
${PATCH} -p0 <binutils-${PKGVERSION_NOREV}-morphos.diff
pre-configure:
${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
post-install:
${RUN} rm -f ${DESTDIR}${PREFIX}/gg/share/info/dir
.include "../../mk/bsd.pkg.mk"

View File

@ -1,62 +0,0 @@
@comment $NetBSD$
gg/bin/ppc-morphos-addr2line
gg/bin/ppc-morphos-ar
gg/bin/ppc-morphos-as
gg/bin/ppc-morphos-c++filt
gg/bin/ppc-morphos-elfedit
gg/bin/ppc-morphos-gprof
gg/bin/ppc-morphos-ld
gg/bin/ppc-morphos-ld.bfd
gg/bin/ppc-morphos-nm
gg/bin/ppc-morphos-objcopy
gg/bin/ppc-morphos-objdump
gg/bin/ppc-morphos-ranlib
gg/bin/ppc-morphos-readelf
gg/bin/ppc-morphos-size
gg/bin/ppc-morphos-strings
gg/bin/ppc-morphos-strip
gg/man/man1/ppc-morphos-addr2line.1
gg/man/man1/ppc-morphos-ar.1
gg/man/man1/ppc-morphos-as.1
gg/man/man1/ppc-morphos-c++filt.1
gg/man/man1/ppc-morphos-dlltool.1
gg/man/man1/ppc-morphos-elfedit.1
gg/man/man1/ppc-morphos-gprof.1
gg/man/man1/ppc-morphos-ld.1
gg/man/man1/ppc-morphos-nm.1
gg/man/man1/ppc-morphos-objcopy.1
gg/man/man1/ppc-morphos-objdump.1
gg/man/man1/ppc-morphos-ranlib.1
gg/man/man1/ppc-morphos-readelf.1
gg/man/man1/ppc-morphos-size.1
gg/man/man1/ppc-morphos-strings.1
gg/man/man1/ppc-morphos-strip.1
gg/man/man1/ppc-morphos-windmc.1
gg/man/man1/ppc-morphos-windres.1
gg/ppc-morphos/bin/ar
gg/ppc-morphos/bin/as
gg/ppc-morphos/bin/ld
gg/ppc-morphos/bin/ld.bfd
gg/ppc-morphos/bin/nm
gg/ppc-morphos/bin/objcopy
gg/ppc-morphos/bin/objdump
gg/ppc-morphos/bin/ranlib
gg/ppc-morphos/bin/readelf
gg/ppc-morphos/bin/strip
gg/ppc-morphos/lib/ldscripts/morphos.x
gg/ppc-morphos/lib/ldscripts/morphos.xbn
gg/ppc-morphos/lib/ldscripts/morphos.xe
gg/ppc-morphos/lib/ldscripts/morphos.xn
gg/ppc-morphos/lib/ldscripts/morphos.xr
gg/ppc-morphos/lib/ldscripts/morphos.xu
gg/ppc-morphos/lib/ldscripts/morphos_baserel.x
gg/ppc-morphos/lib/ldscripts/morphos_baserel.xbn
gg/ppc-morphos/lib/ldscripts/morphos_baserel.xe
gg/ppc-morphos/lib/ldscripts/morphos_baserel.xn
gg/ppc-morphos/lib/ldscripts/morphos_baserel.xr
gg/ppc-morphos/lib/ldscripts/morphos_baserel.xu
gg/share/info/as.info
gg/share/info/bfd.info
gg/share/info/binutils.info
gg/share/info/gprof.info
gg/share/info/ld.info

View File

@ -1,6 +0,0 @@
$NetBSD$
SHA1 (sdk-source-20191111.tar.xz) = 73188877bc83ddf7382f2dcef70c5bc9c631aec6
RMD160 (sdk-source-20191111.tar.xz) = b8c01cc4e6caa897672f44426bc3e575abaeddc8
SHA512 (sdk-source-20191111.tar.xz) = d201e1a6425d847ec5567939225db402524436398d7961180d2295e69ef8003edaf311df49e89ef0fbefe3a0f6f74935a6d132e58b496e3be1f6136a91aa6634
Size (sdk-source-20191111.tar.xz) = 503342768 bytes

View File

@ -1 +0,0 @@
GCC 9 for ppc-morphos

View File

@ -1,64 +0,0 @@
# $NetBSD$
DISTNAME= sdk-source-20191111
PKGNAME= ppc-morphos-gcc-9-9.2.0
PKGREVISION= 1
CATEGORIES= cross
MASTER_SITES= https://morphos-team.net/files/src/sdk/
EXTRACT_SUFX= .tar.xz
MAINTAINER= js-pkgsrc@heap.zone
HOMEPAGE= https://www.morphos-team.net/
COMMENT= GCC 9 for ppc-morphos
LICENSE= gnu-gpl-v3
DEPENDS+= ppc-morphos-binutils-[0-9]*:../../wip/ppc-morphos-binutils
DEPENDS+= ppc-morphos-sdk-[0-9]*:../../wip/ppc-morphos-sdk
WRKSRC= ${WRKDIR}/sdk-source/gcc9/gcc-${PKGVERSION_NOREV}
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= xzcat gtar patch autoconf gsed gmake perl makeinfo
OBJDIR= ../build
CONFIGURE_DIRS= ${OBJDIR}
CONFIGURE_SCRIPT= ${WRKSRC}/configure
GNU_CONFIGURE_PREFIX= ${PREFIX}/gg
CONFIGURE_ARGS+= --target=ppc-morphos
CONFIGURE_ARGS+= --with-plugin-ld=no
CONFIGURE_ARGS+= --enable-languages=c,c++,objc,obj-c++
CONFIGURE_ARGS+= --with-sysroot=${PREFIX}/gg
CONFIGURE_ARGS+= --libexecdir=${PREFIX}/gg/lib
CONFIGURE_ARGS+= --oldincludedir=${PREFIX}/gg/include
CONFIGURE_ARGS+= --program-prefix=ppc-morphos-
CONFIGURE_ARGS+= --program-suffix=-9
CONFIGURE_ARGS+= --enable-threads=morphos
CONFIGURE_ARGS+= --disable-bootstrap
CONFIGURE_ARGS+= --enable-version-specific-runtime-libs
post-extract:
${RUN} cd ${WRKDIR}/sdk-source/gcc9 && \
${XZCAT} gcc-${PKGVERSION_NOREV}.tar.xz | ${GTAR} xf -
pre-patch:
${RUN} cd ${WRKSRC} && ${PATCH} -p1 <../gcc-9-morphos.diff
# The diff for libstdc++-v3/configure is strangely large for the
# minimal changes that are there to the .ac file. Better to throw it
# away regenerate it.
${RUN} rm ${WRKSRC}/libstdc++-v3/configure
${RUN} cd ${WRKSRC}/libstdc++-v3 && autoconf
# Change /gg to ${PREFIX}/gg
${RUN} cd ${WRKSRC} && \
gsed -i 's,/gg/,${PREFIX}/gg/,g' gcc/config/rs6000/morphos.h && \
gsed -i 's,/gg$$,${PREFIX}/gg,g' gcc/config.host
pre-configure:
${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
post-install:
${RUN} rm -f ${DESTDIR}${PREFIX}/gg/share/info/dir
.include "../../devel/gmp/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../math/mpcomplex/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +0,0 @@
$NetBSD$
SHA1 (sdk-source-20191111.tar.xz) = 73188877bc83ddf7382f2dcef70c5bc9c631aec6
RMD160 (sdk-source-20191111.tar.xz) = b8c01cc4e6caa897672f44426bc3e575abaeddc8
SHA512 (sdk-source-20191111.tar.xz) = d201e1a6425d847ec5567939225db402524436398d7961180d2295e69ef8003edaf311df49e89ef0fbefe3a0f6f74935a6d132e58b496e3be1f6136a91aa6634
Size (sdk-source-20191111.tar.xz) = 503342768 bytes
SHA1 (patch-gcc_config_rs6000_morphos.c) = 68f558ecd56c7ccf1a019471deac004b0e48b0ac
SHA1 (patch-gcc_config_rs6000_rs6000.c) = 465e17d7843cd10f5128d3842ffa33bb1b3bbea7
SHA1 (patch-libgcc_crtstuff.c) = 0f97d44f7a740c51de2662c9919631248c39ed34
SHA1 (patch-libstdc++-v3_libsupc++_unwind-cxx.h) = 0234e780171554bf60858b884ab1181cad36f8b2

View File

@ -1,20 +0,0 @@
$NetBSD$
--- gcc/config/rs6000/morphos.c.orig 2020-01-25 16:25:31.000000000 +0000
+++ gcc/config/rs6000/morphos.c
@@ -80,6 +80,7 @@
/* mclib */
//const char *morphos_mclib_name = (char *)0;
+#ifdef __MORPHOS__
#define STACKSIZE 2097152
#define str(s) #s
#define sstr(s) str(s)
@@ -94,6 +95,7 @@ asm("\n"
" .section \".text\"\n"
" .align 2\n"
);
+#endif
/* mbaserel32 */
rtx morphos_legitimize_baserel_address(rtx addr)

View File

@ -1,19 +0,0 @@
$NetBSD$
Patch by Harry Sintonen.
--- gcc/config/rs6000/rs6000.c.orig 2020-02-09 13:46:53.000000000 +0000
+++ gcc/config/rs6000/rs6000.c
@@ -26840,6 +26840,12 @@ rs6000_components_for_bb (basic_block bb
|| bitmap_bit_p (kill, LR_REGNO))
bitmap_set_bit (components, 0);
+#ifdef TARGET_BASEREL
+ /* Always mark LR saving to occur before basic_block if "saveds" function */
+ if (TARGET_BASEREL && info->baserel_save_p)
+ bitmap_set_bit (components, 0);
+#endif
+
/* The TOC save. */
if (bitmap_bit_p (in, TOC_REGNUM)
|| bitmap_bit_p (gen, TOC_REGNUM)

View File

@ -1,13 +0,0 @@
$NetBSD$
--- libgcc/crtstuff.c.orig 2020-02-09 13:44:00.000000000 +0000
+++ libgcc/crtstuff.c
@@ -156,7 +156,7 @@ call_ ## FUNC (void) \
#endif
#ifdef __MORPHOS__
-static const char __EH_FRAME_BEGIN__[];
+extern const char __EH_FRAME_BEGIN__[];
#endif
/* We do not want to add the weak attribute to the declarations of these

View File

@ -1,13 +0,0 @@
$NetBSD$
--- libstdc++-v3/libsupc++/unwind-cxx.h.orig 2020-01-25 15:10:52.346666839 +0000
+++ libstdc++-v3/libsupc++/unwind-cxx.h
@@ -37,7 +37,7 @@
#include <bits/atomic_word.h>
#include <cxxabi.h>
-#ifdef _GLIBCXX_HAVE_SYS_SDT_H
+#if 0 // _GLIBCXX_HAVE_SYS_SDT_H wrongly detected
#include <sys/sdt.h>
/* We only want to use stap probes starting with v3. Earlier versions
added too much startup cost. */

View File

@ -1 +0,0 @@
SDK for ppc-morphos-gcc

View File

@ -1,41 +0,0 @@
# $NetBSD$
PKGNAME= ppc-morphos-${DISTNAME}
PKGREVISION= 2
DISTNAME= sdk-20191111
CATEGORIES= cross
MASTER_SITES= https://morphos-team.net/files/
EXTRACT_SUFX= .lha
MAINTAINER= js-pkgsrc@heap.zone
HOMEPAGE= https://www.morphos-team.net/
COMMENT= SDK for ppc-morphos-gcc
#LICENSE= # TODO: (see mk/license.mk)
DEPENDS+= p5-Tie-IxHash-[0-9]*:../../devel/p5-Tie-IxHash
WRKSRC= ${WRKDIR}/morphossdk
USE_TOOLS+= xzcat gtar gsed
USE_LANGUAGES= # none
do-build:
do-install:
${RUN} ${MKDIR} ${DESTDIR}${PREFIX}/gg
# As per https://bigfoot.morphos-team.net/files/setup-cross-sdk.sh
${RUN} cd ${WRKSRC} && ${XZCAT} sdk.pack | \
${GTAR} -C ${DESTDIR}${PREFIX}/gg \
--wildcards \
--transform "s,^Development/[Gg][Gg]/,," \
--exclude "ldscripts" \
-x \
"Development/[Gg][Gg]/ppc-morphos" \
"Development/[Gg][Gg]/include" \
"Development/[Gg][Gg]/includestd" \
"Development/[Gg][Gg]/os-include" \
"Development/[Gg][Gg]/bin/*.pl"
gsed -i 's,/usr/bin/perl,${PERL5},g' \
${DESTDIR}${PREFIX}/gg/bin/cvinclude.pl \
${DESTDIR}${PREFIX}/gg/bin/genfd.pl
.include "../../mk/bsd.pkg.mk"

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +0,0 @@
$NetBSD$
SHA1 (sdk-20191111.lha) = 62e0e5ea70944a437dfe7374db1d6786802d4c4a
RMD160 (sdk-20191111.lha) = 56d5a83437c9cac3a5215ecc03fc0071a4783cc2
SHA512 (sdk-20191111.lha) = a6e516cb7edc31caca0c1bf686c34a4353eb314e1a01fa9119e97f70eacae4ff9afa775685b45b620b9f80664c97aab962a970c069aceb33007a348d64ac96fc
Size (sdk-20191111.lha) = 311787109 bytes