Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2002 17:58:42 +0400 (MSD)
From:      "Lev A. Serbryakov" <lev@serebryakov.spb.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44138: New port: msp430-binutils: binutils for cross-development for TI's MSP430 MCUs
Message-ID:  <200210161358.g9GDwg1Z056206@ftp.translate.ru>

next in thread | raw e-mail | index | archive | help

>Number:         44138
>Category:       ports
>Synopsis:       New port: msp430-binutils: binutils for cross-development for TI's MSP430 MCUs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 16 07:00:18 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lev A. Serbryakov <lev@serebryakov.spb.ru>
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD ftp.translate.ru 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: Wed Sep 4 15:11:34 MSD 2002 lev@ftp.translate.ru:/usr/src/sys/compile/FTPTR i386
Ports collection: 16 Oct 2002

>Description:

  This is brand-new binutils for TI's MCUs toolchain.

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	msp430-binutils
#	msp430-binutils/Makefile
#	msp430-binutils/distinfo
#	msp430-binutils/pkg-comment
#	msp430-binutils/pkg-descr
#	msp430-binutils/pkg-plist
#
echo c - msp430-binutils
mkdir -p msp430-binutils > /dev/null 2>&1
echo x - msp430-binutils/Makefile
sed 's/^X//' >msp430-binutils/Makefile << 'END-of-msp430-binutils/Makefile'
X# New ports collection makefile for:	msp430-binutils
X# Date created:		15 Oct 2002
X# Whom:			Lev Serebryakov <lev@serebryakov.spb.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	binutils
XPORTVERSION=	${BINUTILVERSION}.${PATCHVERSION}
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SOURCEWARE} \
X		http://lev.serebryakov.spb.ru/download/msp430/:patches
XMASTER_SITE_SUBDIR=	binutils/releases
XPKGNAMEPREFIX=	msp430-
XDISTFILES=	${PORTNAME}-${BINUTILVERSION}${EXTRACT_SUFX} \
X		${PKGNAMEPREFIX}${PORTNAME}-${BINUTILVERSION}.${PATCHVERSION}${EXTRACT_SUFX}:patches
X
XMAINTAINER=	lev@serebryakov.spb.ru
X
XBINUTILVERSION=	2.11
XPATCHVERSION=	20021016
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${BINUTILVERSION}
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XCONFIGURE_ARGS=	--target=${PKGNAMEPREFIX:S/-$//}
XUSE_LIBTOOL=	yes
XLIBTOOLFILES=	configure bfd/configure binutils/configure etc/configure \
X		gas/configure gprof/configure ld/configure opcodes/configure
XMAN1=		${PKGNAMEPREFIX}ar.1 ${PKGNAMEPREFIX}nm.1 \
X		${PKGNAMEPREFIX}objdump.1 \
X		${PKGNAMEPREFIX}ranlib.1 ${PKGNAMEPREFIX}size.1 \
X		${PKGNAMEPREFIX}strings.1 ${PKGNAMEPREFIX}strip.1 \
X		${PKGNAMEPREFIX}objcopy.1 ${PKGNAMEPREFIX}addr2line.1 \
X		${PKGNAMEPREFIX}nlmconv.1 ${PKGNAMEPREFIX}c++filt.1 \
X		${PKGNAMEPREFIX}as.1 ${PKGNAMEPREFIX}ld.1
X
XPLIST_SUB+=	BINUTILS_TARG=${PKGNAMEPREFIX:S/-$//}
X
XBINARIES=	addr2line ar as c++filt gasp ld nm objcopy objdump ranlib \
X		readelf size strings strip
X
Xpost-install:
X.for F in ${BINARIES}
X	@strip ${PREFIX}/bin/${PKGNAMEPREFIX}$F
X	@${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}$F \
X		${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F
X.endfor
X	@cd ${PREFIX}/lib ; ${MV} libbfd.a lib${PKGNAMEPREFIX}bfd.a
X	@cd ${PREFIX}/lib ; ${MV} libopcodes.a lib${PKGNAMEPREFIX}opcodes.a
X
X.include <bsd.port.mk>
END-of-msp430-binutils/Makefile
echo x - msp430-binutils/distinfo
sed 's/^X//' >msp430-binutils/distinfo << 'END-of-msp430-binutils/distinfo'
XMD5 (binutils-2.11.tar.bz2) = 51fed4d711f0ceabff40cb7050fb1ca7
XMD5 (msp430-binutils-2.11.20021016.tar.bz2) = 86381423ed6479a387ac042f5ae55267
END-of-msp430-binutils/distinfo
echo x - msp430-binutils/pkg-comment
sed 's/^X//' >msp430-binutils/pkg-comment << 'END-of-msp430-binutils/pkg-comment'
XGNU binutils for TI's msp430 MCUs cross-development
END-of-msp430-binutils/pkg-comment
echo x - msp430-binutils/pkg-descr
sed 's/^X//' >msp430-binutils/pkg-descr << 'END-of-msp430-binutils/pkg-descr'
XGNU binutils for TI's msp430 MCUs cross-development
X
XThis brings the binutils (assembel, linker and others) for the Texas
XInstruments MSP430 16-bit RISC-like family of microcontrollers.
X
XPrerequisite for the GCC for MSP430 cross-compilation environment.
X
Xbinutils site: http://sources.redhat.com/binutils/
XMSP430 site:   http://www.ti.com/msp430/
X
XWWW: http://mspgcc.sf.net/
END-of-msp430-binutils/pkg-descr
echo x - msp430-binutils/pkg-plist
sed 's/^X//' >msp430-binutils/pkg-plist << 'END-of-msp430-binutils/pkg-plist'
X@comment $FreeBSD: ports/devel/msp430-binutils/pkg-plist,v 1.2 2001/11/05 17:29:12 sobomax Exp $
X%%BINUTILS_TARG%%/bin/addr2line
X%%BINUTILS_TARG%%/bin/ar
X%%BINUTILS_TARG%%/bin/as
X%%BINUTILS_TARG%%/bin/c++filt
X%%BINUTILS_TARG%%/bin/gasp
X%%BINUTILS_TARG%%/bin/ld
X%%BINUTILS_TARG%%/bin/nm
X%%BINUTILS_TARG%%/bin/objcopy
X%%BINUTILS_TARG%%/bin/objdump
X%%BINUTILS_TARG%%/bin/ranlib
X%%BINUTILS_TARG%%/bin/readelf
X%%BINUTILS_TARG%%/bin/strip
X%%BINUTILS_TARG%%/bin/size
X%%BINUTILS_TARG%%/bin/strings
Xinclude/ansidecl.h
Xinclude/bfd.h
Xinclude/bfdlink.h
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x110.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x110.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x110.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x110.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x110.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1101.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1101.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1101.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1101.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1101.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1111.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1111.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1111.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1111.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1111.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x112.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x112.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x112.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x112.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x112.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1121.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1121.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1121.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1121.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1121.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x122.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x122.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x122.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x122.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x122.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1222.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1222.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1222.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1222.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1222.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x123.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x123.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x123.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x123.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x123.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1232.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1232.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1232.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1232.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1232.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x133.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x133.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x133.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x133.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x133.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1331.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1331.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1331.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1331.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1331.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x135.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x135.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x135.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x135.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x135.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1351.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1351.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1351.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1351.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x1351.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x147.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x147.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x147.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x147.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x147.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x148.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x148.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x148.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x148.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x148.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x149.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x149.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x149.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x149.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x149.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x311.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x311.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x311.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x311.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x311.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x312.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x312.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x312.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x312.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x312.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x313.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x313.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x313.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x313.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x313.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x314.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x314.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x314.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x314.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x314.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x315.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x315.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x315.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x315.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x315.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x323.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x323.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x323.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x323.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x323.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x325.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x325.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x325.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x325.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x325.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x336.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x336.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x336.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x336.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x336.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x337.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x337.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x337.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x337.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x337.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x412.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x412.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x412.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x412.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x412.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x413.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x413.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x413.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x413.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x413.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x435.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x435.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x435.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x435.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x435.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x436.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x436.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x436.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x436.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x436.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x437.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x437.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x437.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x437.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x437.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x447.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x447.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x447.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x447.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x447.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x448.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x448.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x448.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x448.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x448.xu
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x449.x
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x449.xbn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x449.xn
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x449.xr
X%%BINUTILS_TARG%%/lib/ldscripts/msp430x449.xu
Xlib/lib%%BINUTILS_TARG%%-bfd.a
Xlib/lib%%BINUTILS_TARG%%-opcodes.a
Xbin/%%BINUTILS_TARG%%-addr2line
Xbin/%%BINUTILS_TARG%%-ar
Xbin/%%BINUTILS_TARG%%-as
Xbin/%%BINUTILS_TARG%%-c++filt
Xbin/%%BINUTILS_TARG%%-gasp
Xbin/%%BINUTILS_TARG%%-ld
Xbin/%%BINUTILS_TARG%%-nm
Xbin/%%BINUTILS_TARG%%-objcopy
Xbin/%%BINUTILS_TARG%%-objdump
Xbin/%%BINUTILS_TARG%%-ranlib
Xbin/%%BINUTILS_TARG%%-readelf
Xbin/%%BINUTILS_TARG%%-strip
Xbin/%%BINUTILS_TARG%%-size
Xbin/%%BINUTILS_TARG%%-strings
X@dirrm %%BINUTILS_TARG%%/bin
X@dirrm %%BINUTILS_TARG%%/lib/ldscripts
X@dirrm %%BINUTILS_TARG%%/lib
X@dirrm %%BINUTILS_TARG%%
END-of-msp430-binutils/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210161358.g9GDwg1Z056206>