mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
GCC Cross compiler for the Texas Instruments MSP430 architecture.
PR: ports/44139 Submitted by: Lev A. Serbryakov <lev@serebryakov.spb.ru>
This commit is contained in:
parent
28e9f4e1d2
commit
d81276d568
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69568
@ -375,6 +375,7 @@
|
||||
SUBDIR += motor
|
||||
SUBDIR += mprof
|
||||
SUBDIR += msp430-binutils
|
||||
SUBDIR += msp430-gcc
|
||||
SUBDIR += msrc0
|
||||
SUBDIR += nana
|
||||
SUBDIR += nasm
|
||||
|
56
devel/msp430-gcc/Makefile
Normal file
56
devel/msp430-gcc/Makefile
Normal file
@ -0,0 +1,56 @@
|
||||
# New ports collection makefile for: msp430-gcc
|
||||
# Date created: 15 October 2002
|
||||
# Whom: Lev Serebryakov <lev@serebryakov.spb.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= ${GCCVERSION}.${PATCHVERSION}
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
|
||||
http://lev.serebryakov.spb.ru/download/msp430/:patches/
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTNAME}-${GCCVERSION}
|
||||
PKGNAMEPREFIX= msp430-
|
||||
DISTFILES= ${PORTNAME}-core-${GCCVERSION}${EXTRACT_SUFX} \
|
||||
${PKGNAMEPREFIX}${PORTNAME}-${GCCVERSION}.${PATCHVERSION}${EXTRACT_SUFX}:patches
|
||||
|
||||
MAINTAINER= lev@serebryakov.spb.ru
|
||||
|
||||
BUILD_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
|
||||
${PKGNAMEPREFIX}ld:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
|
||||
RUN_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
|
||||
${PKGNAMEPREFIX}ld:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
|
||||
|
||||
GCCVERSION= 3.2
|
||||
PATCHVERSION= 20021016
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${GCCVERSION}
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} \
|
||||
--enable-languages=c
|
||||
MAKE_ENV= PATH=${PREFIX}/bin:${PATH}
|
||||
LIBTOOLFILES= configure gcc/configure
|
||||
MAN1= ${PKGNAMEPREFIX}gcc.1 cpp.1 gcov.1
|
||||
MAN7= fsf-funding.7 gfdl.7 gpl.7
|
||||
|
||||
PLIST_SUB+= PORTVERSION=${PORTVERSION} GCC_TARG=${PKGNAMEPREFIX:S/-$//} \
|
||||
GCC_REV=${GCCVERSION}
|
||||
|
||||
BINARIES = gcc cpp
|
||||
|
||||
post-configure:
|
||||
@${PERL} -pi.bak -e 's,^(TARGET_CONFIGDIRS\s*=).+$$,\1,' ${WRKSRC}/Makefile
|
||||
@${PERL} -pi.bak -e 's,^(install-info:),\1\ndonot-\1,' ${WRKSRC}/gcc/Makefile
|
||||
|
||||
post-install:
|
||||
.for F in ${BINARIES}
|
||||
@strip ${PREFIX}/bin/${PKGNAMEPREFIX}$F
|
||||
@${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}$F \
|
||||
${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/msp430-gcc/distinfo
Normal file
2
devel/msp430-gcc/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (gcc-core-3.2.tar.bz2) = 237d1cd956518f89a618172467d97811
|
||||
MD5 (msp430-gcc-3.2.20021016.tar.bz2) = 2fcbacbb5214e68adbf2a1216a40f920
|
1
devel/msp430-gcc/pkg-comment
Normal file
1
devel/msp430-gcc/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
FSF gcc-3.2 for TI's msp430 MCUs cross-development
|
11
devel/msp430-gcc/pkg-descr
Normal file
11
devel/msp430-gcc/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
FSF gcc-3.2 for TI's msp430 MCUs cross-development
|
||||
|
||||
This brings the gcc compiler for the Texas Instruments MSP430 16-bit
|
||||
RISC-like family of microcontrollers.
|
||||
|
||||
Includes only C compiler.
|
||||
|
||||
GCC site: http://gcc.gnu.org/
|
||||
MSP430 site: http://www.ti.com/msp430/
|
||||
|
||||
WWW: http://mspgcc.sf.net/
|
41
devel/msp430-gcc/pkg-plist
Normal file
41
devel/msp430-gcc/pkg-plist
Normal file
@ -0,0 +1,41 @@
|
||||
%%GCC_TARG%%/bin/cpp
|
||||
%%GCC_TARG%%/bin/gcc
|
||||
bin/%%GCC_TARG%%-cpp
|
||||
bin/%%GCC_TARG%%-gcc
|
||||
bin/%%GCC_TARG%%-gccbug
|
||||
bin/%%GCC_TARG%%-gcov
|
||||
lib/charset.alias
|
||||
lib/libiberty.a
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cc1
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/collect2
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cpp0
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/README
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/fixed
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/float.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/iso646.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/limits.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stdarg.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stdbool.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stddef.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/syslimits.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/varargs.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/libgcc.a
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp1/libgcc.a
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp2/libgcc.a
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/specs
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/tradcpp0
|
||||
share/locale/da/LC_MESSAGES/gcc.mo
|
||||
share/locale/el/LC_MESSAGES/gcc.mo
|
||||
share/locale/es/LC_MESSAGES/gcc.mo
|
||||
share/locale/fr/LC_MESSAGES/gcc.mo
|
||||
share/locale/ja/LC_MESSAGES/gcc.mo
|
||||
share/locale/nl/LC_MESSAGES/gcc.mo
|
||||
share/locale/sv/LC_MESSAGES/gcc.mo
|
||||
share/locale/tr/LC_MESSAGES/gcc.mo
|
||||
@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include
|
||||
@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp1
|
||||
@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp2
|
||||
@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%
|
||||
@dirrm lib/gcc-lib/%%GCC_TARG%%
|
||||
@dirrm lib/gcc-lib
|
||||
|
56
devel/msp430-gcc3/Makefile
Normal file
56
devel/msp430-gcc3/Makefile
Normal file
@ -0,0 +1,56 @@
|
||||
# New ports collection makefile for: msp430-gcc
|
||||
# Date created: 15 October 2002
|
||||
# Whom: Lev Serebryakov <lev@serebryakov.spb.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= ${GCCVERSION}.${PATCHVERSION}
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
|
||||
http://lev.serebryakov.spb.ru/download/msp430/:patches/
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTNAME}-${GCCVERSION}
|
||||
PKGNAMEPREFIX= msp430-
|
||||
DISTFILES= ${PORTNAME}-core-${GCCVERSION}${EXTRACT_SUFX} \
|
||||
${PKGNAMEPREFIX}${PORTNAME}-${GCCVERSION}.${PATCHVERSION}${EXTRACT_SUFX}:patches
|
||||
|
||||
MAINTAINER= lev@serebryakov.spb.ru
|
||||
|
||||
BUILD_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
|
||||
${PKGNAMEPREFIX}ld:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
|
||||
RUN_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
|
||||
${PKGNAMEPREFIX}ld:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
|
||||
|
||||
GCCVERSION= 3.2
|
||||
PATCHVERSION= 20021016
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${GCCVERSION}
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} \
|
||||
--enable-languages=c
|
||||
MAKE_ENV= PATH=${PREFIX}/bin:${PATH}
|
||||
LIBTOOLFILES= configure gcc/configure
|
||||
MAN1= ${PKGNAMEPREFIX}gcc.1 cpp.1 gcov.1
|
||||
MAN7= fsf-funding.7 gfdl.7 gpl.7
|
||||
|
||||
PLIST_SUB+= PORTVERSION=${PORTVERSION} GCC_TARG=${PKGNAMEPREFIX:S/-$//} \
|
||||
GCC_REV=${GCCVERSION}
|
||||
|
||||
BINARIES = gcc cpp
|
||||
|
||||
post-configure:
|
||||
@${PERL} -pi.bak -e 's,^(TARGET_CONFIGDIRS\s*=).+$$,\1,' ${WRKSRC}/Makefile
|
||||
@${PERL} -pi.bak -e 's,^(install-info:),\1\ndonot-\1,' ${WRKSRC}/gcc/Makefile
|
||||
|
||||
post-install:
|
||||
.for F in ${BINARIES}
|
||||
@strip ${PREFIX}/bin/${PKGNAMEPREFIX}$F
|
||||
@${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}$F \
|
||||
${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/msp430-gcc3/distinfo
Normal file
2
devel/msp430-gcc3/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (gcc-core-3.2.tar.bz2) = 237d1cd956518f89a618172467d97811
|
||||
MD5 (msp430-gcc-3.2.20021016.tar.bz2) = 2fcbacbb5214e68adbf2a1216a40f920
|
1
devel/msp430-gcc3/pkg-comment
Normal file
1
devel/msp430-gcc3/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
FSF gcc-3.2 for TI's msp430 MCUs cross-development
|
11
devel/msp430-gcc3/pkg-descr
Normal file
11
devel/msp430-gcc3/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
FSF gcc-3.2 for TI's msp430 MCUs cross-development
|
||||
|
||||
This brings the gcc compiler for the Texas Instruments MSP430 16-bit
|
||||
RISC-like family of microcontrollers.
|
||||
|
||||
Includes only C compiler.
|
||||
|
||||
GCC site: http://gcc.gnu.org/
|
||||
MSP430 site: http://www.ti.com/msp430/
|
||||
|
||||
WWW: http://mspgcc.sf.net/
|
41
devel/msp430-gcc3/pkg-plist
Normal file
41
devel/msp430-gcc3/pkg-plist
Normal file
@ -0,0 +1,41 @@
|
||||
%%GCC_TARG%%/bin/cpp
|
||||
%%GCC_TARG%%/bin/gcc
|
||||
bin/%%GCC_TARG%%-cpp
|
||||
bin/%%GCC_TARG%%-gcc
|
||||
bin/%%GCC_TARG%%-gccbug
|
||||
bin/%%GCC_TARG%%-gcov
|
||||
lib/charset.alias
|
||||
lib/libiberty.a
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cc1
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/collect2
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cpp0
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/README
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/fixed
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/float.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/iso646.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/limits.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stdarg.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stdbool.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stddef.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/syslimits.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/varargs.h
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/libgcc.a
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp1/libgcc.a
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp2/libgcc.a
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/specs
|
||||
lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/tradcpp0
|
||||
share/locale/da/LC_MESSAGES/gcc.mo
|
||||
share/locale/el/LC_MESSAGES/gcc.mo
|
||||
share/locale/es/LC_MESSAGES/gcc.mo
|
||||
share/locale/fr/LC_MESSAGES/gcc.mo
|
||||
share/locale/ja/LC_MESSAGES/gcc.mo
|
||||
share/locale/nl/LC_MESSAGES/gcc.mo
|
||||
share/locale/sv/LC_MESSAGES/gcc.mo
|
||||
share/locale/tr/LC_MESSAGES/gcc.mo
|
||||
@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include
|
||||
@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp1
|
||||
@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp2
|
||||
@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%
|
||||
@dirrm lib/gcc-lib/%%GCC_TARG%%
|
||||
@dirrm lib/gcc-lib
|
||||
|
Loading…
Reference in New Issue
Block a user