pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cross/binutils-mips-current Use mipsel instead of mips...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dc85361d7b3
branches:  trunk
changeset: 632756:6dc85361d7b3
user:      martin <martin%pkgsrc.org@localhost>
date:      Sat Apr 05 10:07:11 2014 +0000

description:
Use mipsel instead of mips to more closely match the NetBSD native
cross compile environment.

diffstat:

 cross/binutils-mips-current/Makefile |  36 ++++++++++++++++++------------------
 cross/binutils-mips-current/PLIST    |  30 +++++++++++++++---------------
 2 files changed, 33 insertions(+), 33 deletions(-)

diffs (109 lines):

diff -r 4cec02b2a19a -r 6dc85361d7b3 cross/binutils-mips-current/Makefile
--- a/cross/binutils-mips-current/Makefile      Sat Apr 05 09:13:13 2014 +0000
+++ b/cross/binutils-mips-current/Makefile      Sat Apr 05 10:07:11 2014 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.1 2014/03/31 09:46:57 martin Exp $
+# $NetBSD: Makefile,v 1.2 2014/04/05 10:07:11 martin Exp $
 #
 # GNU binutils snapshot, configured to target MIPS (NetBSD/playstation2)
 
 BINUTILS_VER=          2.23.91
 
 DISTNAME=              binutils-${BINUTILS_VER}
-# PKGREVISION=         1
+PKGREVISION=           1
 PKGNAME=               binutils-mips-${BINUTILS_VER}
 CATEGORIES=            cross lang
 MASTER_SITES=          ftp://sourceware.org/pub/binutils/snapshots/
@@ -14,6 +14,7 @@
 MAINTAINER=            martin%NetBSD.org@localhost
 HOMEPAGE=              http://www.gnu.org/
 COMMENT=               binutils for NetBSD/playstation2
+PLATFORM=              mipsel--netbsdelf
 LICENSE=               gnu-gpl-v3 AND gnu-lgpl-v3
 
 BUILDLINK_TRANSFORM+=  rm:-Werror
@@ -23,7 +24,7 @@
 
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --enable-64-bit-bfd
-CONFIGURE_ARGS+=       --target=mips--netbsdelf
+CONFIGURE_ARGS+=       --target=${PLATFORM}
 
 MAKE_ARGS+=            CFLAGS="${CFLAGS}"
 
@@ -42,23 +43,22 @@
        ${RM} -rf ${WRKSRC}/etc
 
 # we use MKDIR, not INSTALL_PROGRAM_DIR, deliberately.
-PFX=mips--netbsdelf
 do-install:
        ${MKDIR} ${DESTDIR}${BINDIR} ${DESTDIR}${PREFIX}/lib/ldscripts ${DESTDIR}${PREFIX}/include
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/addr2line ${DESTDIR}${BINDIR}/${PFX}-addr2line
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/gas/as-new ${DESTDIR}${BINDIR}/${PFX}-as
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/ar ${DESTDIR}${BINDIR}/${PFX}-ar
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/cxxfilt ${DESTDIR}${BINDIR}/${PFX}-cxxfilt
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/nm-new ${DESTDIR}${BINDIR}/${PFX}-nm
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/objcopy ${DESTDIR}${BINDIR}/${PFX}-objcopy
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/objdump ${DESTDIR}${BINDIR}/${PFX}-objdump
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/ranlib ${DESTDIR}${BINDIR}/${PFX}-ranlib
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/readelf ${DESTDIR}${BINDIR}/${PFX}-readelf
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/size ${DESTDIR}${BINDIR}/${PFX}-size
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/strings ${DESTDIR}${BINDIR}/${PFX}-strings
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/strip-new ${DESTDIR}${BINDIR}/${PFX}-strip
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/sysinfo ${DESTDIR}${BINDIR}/${PFX}-sysinfo
-       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/ld/ld-new ${DESTDIR}${BINDIR}/${PFX}-ld
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/addr2line ${DESTDIR}${BINDIR}/${PLATFORM}-addr2line
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/gas/as-new ${DESTDIR}${BINDIR}/${PLATFORM}-as
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/ar ${DESTDIR}${BINDIR}/${PLATFORM}-ar
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/cxxfilt ${DESTDIR}${BINDIR}/${PLATFORM}-cxxfilt
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/nm-new ${DESTDIR}${BINDIR}/${PLATFORM}-nm
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/objcopy ${DESTDIR}${BINDIR}/${PLATFORM}-objcopy
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/objdump ${DESTDIR}${BINDIR}/${PLATFORM}-objdump
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/ranlib ${DESTDIR}${BINDIR}/${PLATFORM}-ranlib
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/readelf ${DESTDIR}${BINDIR}/${PLATFORM}-readelf
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/size ${DESTDIR}${BINDIR}/${PLATFORM}-size
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/strings ${DESTDIR}${BINDIR}/${PLATFORM}-strings
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/strip-new ${DESTDIR}${BINDIR}/${PLATFORM}-strip
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/binutils/sysinfo ${DESTDIR}${BINDIR}/${PLATFORM}-sysinfo
+       libtool --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/ld/ld-new ${DESTDIR}${BINDIR}/${PLATFORM}-ld
        for f in ${WRKSRC}/ld/ldscripts/*; do ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/lib/ldscripts; done
 
 .include "../../mk/bsd.pkg.mk"
diff -r 4cec02b2a19a -r 6dc85361d7b3 cross/binutils-mips-current/PLIST
--- a/cross/binutils-mips-current/PLIST Sat Apr 05 09:13:13 2014 +0000
+++ b/cross/binutils-mips-current/PLIST Sat Apr 05 10:07:11 2014 +0000
@@ -1,18 +1,18 @@
-@comment $NetBSD: PLIST,v 1.1 2014/03/31 09:46:57 martin Exp $
-bin/mips--netbsdelf-addr2line
-bin/mips--netbsdelf-ar
-bin/mips--netbsdelf-as
-bin/mips--netbsdelf-cxxfilt
-bin/mips--netbsdelf-ld
-bin/mips--netbsdelf-nm
-bin/mips--netbsdelf-objcopy
-bin/mips--netbsdelf-objdump
-bin/mips--netbsdelf-ranlib
-bin/mips--netbsdelf-readelf
-bin/mips--netbsdelf-size
-bin/mips--netbsdelf-strings
-bin/mips--netbsdelf-strip
-bin/mips--netbsdelf-sysinfo
+@comment $NetBSD: PLIST,v 1.2 2014/04/05 10:07:11 martin Exp $
+bin/mipsel--netbsdelf-addr2line
+bin/mipsel--netbsdelf-ar
+bin/mipsel--netbsdelf-as
+bin/mipsel--netbsdelf-cxxfilt
+bin/mipsel--netbsdelf-ld
+bin/mipsel--netbsdelf-nm
+bin/mipsel--netbsdelf-objcopy
+bin/mipsel--netbsdelf-objdump
+bin/mipsel--netbsdelf-ranlib
+bin/mipsel--netbsdelf-readelf
+bin/mipsel--netbsdelf-size
+bin/mipsel--netbsdelf-strings
+bin/mipsel--netbsdelf-strip
+bin/mipsel--netbsdelf-sysinfo
 lib/ldscripts/elf32btsmip.x
 lib/ldscripts/elf32btsmip.xbn
 lib/ldscripts/elf32btsmip.xc



Home | Main Index | Thread Index | Old Index