Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross Import cross/ppc-morphos-binutils from wip



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd7bf852bca0
branches:  trunk
changeset: 429018:fd7bf852bca0
user:      js <js%pkgsrc.org@localhost>
date:      Tue Apr 14 20:53:20 2020 +0000

description:
Import cross/ppc-morphos-binutils from wip

GNU Binutils targeting MorphOS, with the patches from the official SDK.

diffstat:

 cross/Makefile                      |   3 +-
 cross/ppc-morphos-binutils/DESCR    |   1 +
 cross/ppc-morphos-binutils/Makefile |  43 +++++++++++++++++++++++++
 cross/ppc-morphos-binutils/PLIST    |  62 +++++++++++++++++++++++++++++++++++++
 cross/ppc-morphos-binutils/distinfo |   6 +++
 5 files changed, 114 insertions(+), 1 deletions(-)

diffs (145 lines):

diff -r 32cb68a3558b -r fd7bf852bca0 cross/Makefile
--- a/cross/Makefile    Tue Apr 14 20:42:31 2020 +0000
+++ b/cross/Makefile    Tue Apr 14 20:53:20 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2020/03/30 16:29:53 riastradh Exp $
+# $NetBSD: Makefile,v 1.96 2020/04/14 20:53:20 js Exp $
 #
 
 COMMENT=       Cross-platform development utilities
@@ -67,6 +67,7 @@
 SUBDIR+=       pdp11-aout-gcc
 SUBDIR+=       powerpc-none-elf-binutils
 SUBDIR+=       powerpc-none-elf-gcc
+SUBDIR+=       ppc-morphos-binutils
 SUBDIR+=       stlink
 SUBDIR+=       uisp
 SUBDIR+=       xtensa-esp32-elf-binutils
diff -r 32cb68a3558b -r fd7bf852bca0 cross/ppc-morphos-binutils/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/ppc-morphos-binutils/DESCR  Tue Apr 14 20:53:20 2020 +0000
@@ -0,0 +1,1 @@
+GNU Binutils targeting MorphOS
diff -r 32cb68a3558b -r fd7bf852bca0 cross/ppc-morphos-binutils/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/ppc-morphos-binutils/Makefile       Tue Apr 14 20:53:20 2020 +0000
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 2020/04/14 20:53:21 js Exp $
+
+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.org@localhost
+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"
diff -r 32cb68a3558b -r fd7bf852bca0 cross/ppc-morphos-binutils/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/ppc-morphos-binutils/PLIST  Tue Apr 14 20:53:20 2020 +0000
@@ -0,0 +1,62 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/14 20:53:21 js Exp $
+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
diff -r 32cb68a3558b -r fd7bf852bca0 cross/ppc-morphos-binutils/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/ppc-morphos-binutils/distinfo       Tue Apr 14 20:53:20 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/14 20:53:21 js Exp $
+
+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



Home | Main Index | Thread Index | Old Index