aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2002-11-06 18:05:56 +0800
committerjkoshy <jkoshy@FreeBSD.org>2002-11-06 18:05:56 +0800
commitdb17f0c34dda887d5668341708c1a6b172dc656a (patch)
treeaef7406ce0f7c0dd181400ca90c933e5dddfdb2d
parent48ab8bb8c33137964396da652920a17e74bbb486 (diff)
downloadfreebsd-ports-gnome-db17f0c34dda887d5668341708c1a6b172dc656a.tar.gz
freebsd-ports-gnome-db17f0c34dda887d5668341708c1a6b172dc656a.tar.zst
freebsd-ports-gnome-db17f0c34dda887d5668341708c1a6b172dc656a.zip
Cross toolchain for the Texas Instruments MSP430 architecture.
PR: ports/44138 Submitted by: "Lev A. Serbryakov" <lev@serebryakov.spb.ru>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/msp430-binutils/Makefile53
-rw-r--r--devel/msp430-binutils/distinfo2
-rw-r--r--devel/msp430-binutils/pkg-comment1
-rw-r--r--devel/msp430-binutils/pkg-descr11
-rw-r--r--devel/msp430-binutils/pkg-plist203
6 files changed, 271 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 92f563b6fe85..25f43aeb9a08 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -374,6 +374,7 @@
SUBDIR += moonshine
SUBDIR += motor
SUBDIR += mprof
+ SUBDIR += msp430-binutils
SUBDIR += msrc0
SUBDIR += nana
SUBDIR += nasm
diff --git a/devel/msp430-binutils/Makefile b/devel/msp430-binutils/Makefile
new file mode 100644
index 000000000000..72276c8d8075
--- /dev/null
+++ b/devel/msp430-binutils/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: msp430-binutils
+# Date created: 15 Oct 2002
+# Whom: Lev Serebryakov <lev@serebryakov.spb.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= binutils
+PORTVERSION= ${BINUTILVERSION}.${PATCHVERSION}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
+ http://lev.serebryakov.spb.ru/download/msp430/:patches
+MASTER_SITE_SUBDIR= binutils/releases
+PKGNAMEPREFIX= msp430-
+DISTFILES= ${PORTNAME}-${BINUTILVERSION}${EXTRACT_SUFX} \
+ ${PKGNAMEPREFIX}${PORTNAME}-${BINUTILVERSION}.${PATCHVERSION}${EXTRACT_SUFX}:patches
+
+MAINTAINER= lev@serebryakov.spb.ru
+
+BINUTILVERSION= 2.11
+PATCHVERSION= 20021016
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${BINUTILVERSION}
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//}
+USE_LIBTOOL= yes
+LIBTOOLFILES= configure bfd/configure binutils/configure etc/configure \
+ gas/configure gprof/configure ld/configure opcodes/configure
+MAN1= ${PKGNAMEPREFIX}ar.1 ${PKGNAMEPREFIX}nm.1 \
+ ${PKGNAMEPREFIX}objdump.1 \
+ ${PKGNAMEPREFIX}ranlib.1 ${PKGNAMEPREFIX}size.1 \
+ ${PKGNAMEPREFIX}strings.1 ${PKGNAMEPREFIX}strip.1 \
+ ${PKGNAMEPREFIX}objcopy.1 ${PKGNAMEPREFIX}addr2line.1 \
+ ${PKGNAMEPREFIX}nlmconv.1 ${PKGNAMEPREFIX}c++filt.1 \
+ ${PKGNAMEPREFIX}as.1 ${PKGNAMEPREFIX}ld.1
+
+PLIST_SUB+= BINUTILS_TARG=${PKGNAMEPREFIX:S/-$//}
+
+BINARIES= addr2line ar as c++filt gasp ld nm objcopy objdump ranlib \
+ readelf size strings strip
+
+post-install:
+.for F in ${BINARIES}
+ @strip ${PREFIX}/bin/${PKGNAMEPREFIX}$F
+ @${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}$F \
+ ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F
+.endfor
+ @cd ${PREFIX}/lib ; ${MV} libbfd.a lib${PKGNAMEPREFIX}bfd.a
+ @cd ${PREFIX}/lib ; ${MV} libopcodes.a lib${PKGNAMEPREFIX}opcodes.a
+
+.include <bsd.port.mk>
diff --git a/devel/msp430-binutils/distinfo b/devel/msp430-binutils/distinfo
new file mode 100644
index 000000000000..db9848d5f084
--- /dev/null
+++ b/devel/msp430-binutils/distinfo
@@ -0,0 +1,2 @@
+MD5 (binutils-2.11.tar.bz2) = 51fed4d711f0ceabff40cb7050fb1ca7
+MD5 (msp430-binutils-2.11.20021016.tar.bz2) = 86381423ed6479a387ac042f5ae55267
diff --git a/devel/msp430-binutils/pkg-comment b/devel/msp430-binutils/pkg-comment
new file mode 100644
index 000000000000..1c47ab6fe8df
--- /dev/null
+++ b/devel/msp430-binutils/pkg-comment
@@ -0,0 +1 @@
+GNU binutils for TI's msp430 MCUs cross-development
diff --git a/devel/msp430-binutils/pkg-descr b/devel/msp430-binutils/pkg-descr
new file mode 100644
index 000000000000..8d093f828fdf
--- /dev/null
+++ b/devel/msp430-binutils/pkg-descr
@@ -0,0 +1,11 @@
+GNU binutils for TI's msp430 MCUs cross-development
+
+This brings the binutils (assembel, linker and others) for the Texas
+Instruments MSP430 16-bit RISC-like family of microcontrollers.
+
+Prerequisite for the GCC for MSP430 cross-compilation environment.
+
+binutils site: http://sources.redhat.com/binutils/
+MSP430 site: http://www.ti.com/msp430/
+
+WWW: http://mspgcc.sf.net/
diff --git a/devel/msp430-binutils/pkg-plist b/devel/msp430-binutils/pkg-plist
new file mode 100644
index 000000000000..8d1c21227339
--- /dev/null
+++ b/devel/msp430-binutils/pkg-plist
@@ -0,0 +1,203 @@
+@comment $FreeBSD: /tmp/pcvs/ports/devel/msp430-binutils/pkg-plist,v 1.1 2002-11-06 10:05:56 jkoshy Exp $
+%%BINUTILS_TARG%%/bin/addr2line
+%%BINUTILS_TARG%%/bin/ar
+%%BINUTILS_TARG%%/bin/as
+%%BINUTILS_TARG%%/bin/c++filt
+%%BINUTILS_TARG%%/bin/gasp
+%%BINUTILS_TARG%%/bin/ld
+%%BINUTILS_TARG%%/bin/nm
+%%BINUTILS_TARG%%/bin/objcopy
+%%BINUTILS_TARG%%/bin/objdump
+%%BINUTILS_TARG%%/bin/ranlib
+%%BINUTILS_TARG%%/bin/readelf
+%%BINUTILS_TARG%%/bin/strip
+%%BINUTILS_TARG%%/bin/size
+%%BINUTILS_TARG%%/bin/strings
+include/ansidecl.h
+include/bfd.h
+include/bfdlink.h
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x110.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x110.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x110.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x110.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x110.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1101.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1101.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1101.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1101.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1101.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1111.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1111.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1111.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1111.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1111.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x112.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x112.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x112.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x112.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x112.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1121.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1121.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1121.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1121.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1121.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x122.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x122.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x122.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x122.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x122.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1222.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1222.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1222.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1222.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1222.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x123.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x123.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x123.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x123.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x123.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1232.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1232.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1232.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1232.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1232.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x133.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x133.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x133.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x133.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x133.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1331.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1331.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1331.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1331.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1331.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x135.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x135.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x135.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x135.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x135.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1351.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1351.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1351.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1351.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x1351.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x147.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x147.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x147.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x147.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x147.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x148.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x148.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x148.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x148.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x148.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x149.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x149.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x149.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x149.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x149.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x311.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x311.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x311.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x311.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x311.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x312.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x312.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x312.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x312.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x312.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x313.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x313.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x313.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x313.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x313.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x314.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x314.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x314.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x314.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x314.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x315.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x315.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x315.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x315.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x315.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x323.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x323.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x323.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x323.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x323.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x325.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x325.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x325.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x325.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x325.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x336.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x336.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x336.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x336.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x336.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x337.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x337.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x337.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x337.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x337.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x412.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x412.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x412.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x412.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x412.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x413.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x413.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x413.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x413.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x413.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x435.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x435.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x435.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x435.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x435.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x436.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x436.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x436.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x436.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x436.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x437.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x437.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x437.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x437.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x437.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x447.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x447.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x447.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x447.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x447.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x448.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x448.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x448.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x448.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x448.xu
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x449.x
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x449.xbn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x449.xn
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x449.xr
+%%BINUTILS_TARG%%/lib/ldscripts/msp430x449.xu
+lib/lib%%BINUTILS_TARG%%-bfd.a
+lib/lib%%BINUTILS_TARG%%-opcodes.a
+bin/%%BINUTILS_TARG%%-addr2line
+bin/%%BINUTILS_TARG%%-ar
+bin/%%BINUTILS_TARG%%-as
+bin/%%BINUTILS_TARG%%-c++filt
+bin/%%BINUTILS_TARG%%-gasp
+bin/%%BINUTILS_TARG%%-ld
+bin/%%BINUTILS_TARG%%-nm
+bin/%%BINUTILS_TARG%%-objcopy
+bin/%%BINUTILS_TARG%%-objdump
+bin/%%BINUTILS_TARG%%-ranlib
+bin/%%BINUTILS_TARG%%-readelf
+bin/%%BINUTILS_TARG%%-strip
+bin/%%BINUTILS_TARG%%-size
+bin/%%BINUTILS_TARG%%-strings
+@dirrm %%BINUTILS_TARG%%/bin
+@dirrm %%BINUTILS_TARG%%/lib/ldscripts
+@dirrm %%BINUTILS_TARG%%/lib
+@dirrm %%BINUTILS_TARG%%