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

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

>Number:         44140
>Category:       ports
>Synopsis:       New port: msp430-libc: libc & libm 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:20 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 libc for TI's MCUs toolchain.
  This port depends on msp430-binutils and msp430-gcc (see previous PRs)

>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-libc
#	msp430-libc/pkg-plist
#	msp430-libc/pkg-descr
#	msp430-libc/pkg-comment
#	msp430-libc/distinfo
#	msp430-libc/Makefile
#
echo c - msp430-libc
mkdir -p msp430-libc > /dev/null 2>&1
echo x - msp430-libc/pkg-plist
sed 's/^X//' >msp430-libc/pkg-plist << 'END-of-msp430-libc/pkg-plist'
X%%LIBC_TARG%%/include/ctype.h
X%%LIBC_TARG%%/include/debug.h
X%%LIBC_TARG%%/include/errno.h
X%%LIBC_TARG%%/include/io.h
X%%LIBC_TARG%%/include/iomacros.h
X%%LIBC_TARG%%/include/limits.h
X%%LIBC_TARG%%/include/math.h
X%%LIBC_TARG%%/include/msp430/adc10.h
X%%LIBC_TARG%%/include/msp430/adc12.h
X%%LIBC_TARG%%/include/msp430/basic_clock.h
X%%LIBC_TARG%%/include/msp430/basic_timer.h
X%%LIBC_TARG%%/include/msp430/common.h
X%%LIBC_TARG%%/include/msp430/compa.h
X%%LIBC_TARG%%/include/msp430/eprom.h
X%%LIBC_TARG%%/include/msp430/flash.h
X%%LIBC_TARG%%/include/msp430/gpio.h
X%%LIBC_TARG%%/include/msp430/lcd.h
X%%LIBC_TARG%%/include/msp430/mpy.h
X%%LIBC_TARG%%/include/msp430/slopeadc.h
X%%LIBC_TARG%%/include/msp430/svs.h
X%%LIBC_TARG%%/include/msp430/system_clock.h
X%%LIBC_TARG%%/include/msp430/timer8.h
X%%LIBC_TARG%%/include/msp430/timera.h
X%%LIBC_TARG%%/include/msp430/timerb.h
X%%LIBC_TARG%%/include/msp430/timerport.h
X%%LIBC_TARG%%/include/msp430/usart.h
X%%LIBC_TARG%%/include/msp430x11x.h
X%%LIBC_TARG%%/include/msp430x11x1.h
X%%LIBC_TARG%%/include/msp430x12x.h
X%%LIBC_TARG%%/include/msp430x12x2.h
X%%LIBC_TARG%%/include/msp430x13x.h
X%%LIBC_TARG%%/include/msp430x14x.h
X%%LIBC_TARG%%/include/msp430x31x.h
X%%LIBC_TARG%%/include/msp430x32x.h
X%%LIBC_TARG%%/include/msp430x33x.h
X%%LIBC_TARG%%/include/msp430x41x.h
X%%LIBC_TARG%%/include/msp430x43x.h
X%%LIBC_TARG%%/include/msp430x44x.h
X%%LIBC_TARG%%/include/setjmp.h
X%%LIBC_TARG%%/include/signal.h
X%%LIBC_TARG%%/include/stdio.h
X%%LIBC_TARG%%/include/stdlib.h
X%%LIBC_TARG%%/include/string.h
X%%LIBC_TARG%%/include/sys/cdefs.h
X%%LIBC_TARG%%/include/sys/inttypes.h
X%%LIBC_TARG%%/include/sys/types.h
X%%LIBC_TARG%%/lib/crt430x110.o
X%%LIBC_TARG%%/lib/crt430x1101.o
X%%LIBC_TARG%%/lib/crt430x1111.o
X%%LIBC_TARG%%/lib/crt430x112.o
X%%LIBC_TARG%%/lib/crt430x1121.o
X%%LIBC_TARG%%/lib/crt430x122.o
X%%LIBC_TARG%%/lib/crt430x1222.o
X%%LIBC_TARG%%/lib/crt430x123.o
X%%LIBC_TARG%%/lib/crt430x1232.o
X%%LIBC_TARG%%/lib/crt430x133.o
X%%LIBC_TARG%%/lib/crt430x1331.o
X%%LIBC_TARG%%/lib/crt430x135.o
X%%LIBC_TARG%%/lib/crt430x1351.o
X%%LIBC_TARG%%/lib/crt430x147.o
X%%LIBC_TARG%%/lib/crt430x148.o
X%%LIBC_TARG%%/lib/crt430x149.o
X%%LIBC_TARG%%/lib/crt430x311.o
X%%LIBC_TARG%%/lib/crt430x312.o
X%%LIBC_TARG%%/lib/crt430x313.o
X%%LIBC_TARG%%/lib/crt430x314.o
X%%LIBC_TARG%%/lib/crt430x315.o
X%%LIBC_TARG%%/lib/crt430x323.o
X%%LIBC_TARG%%/lib/crt430x325.o
X%%LIBC_TARG%%/lib/crt430x336.o
X%%LIBC_TARG%%/lib/crt430x337.o
X%%LIBC_TARG%%/lib/crt430x412.o
X%%LIBC_TARG%%/lib/crt430x413.o
X%%LIBC_TARG%%/lib/crt430x435.o
X%%LIBC_TARG%%/lib/crt430x436.o
X%%LIBC_TARG%%/lib/crt430x437.o
X%%LIBC_TARG%%/lib/crt430x447.o
X%%LIBC_TARG%%/lib/crt430x448.o
X%%LIBC_TARG%%/lib/crt430x449.o
X%%LIBC_TARG%%/lib/libc.a
X%%LIBC_TARG%%/lib/libm.a
X%%LIBC_TARG%%/lib/msp1/libc.a
X%%LIBC_TARG%%/lib/msp1/libm.a
X%%LIBC_TARG%%/lib/msp2/libc.a
X%%LIBC_TARG%%/lib/msp2/libm.a
X%%LIBC_TARG%%/share/mpsgcc/doc/FAQ
X%%LIBC_TARG%%/share/mpsgcc/doc/devheaders.txt
X%%LIBC_TARG%%/share/mpsgcc/doc/doc.txt
X%%LIBC_TARG%%/share/mpsgcc/doc/volatil
X%%LIBC_TARG%%/share/mpsgcc/examples/rawsources/README
X%%LIBC_TARG%%/share/mpsgcc/examples/rawsources/flash.c
X%%LIBC_TARG%%/share/mpsgcc/examples/rawsources/rand.c
X%%LIBC_TARG%%/share/mpsgcc/examples/reed-solomon/README
X%%LIBC_TARG%%/share/mpsgcc/examples/reed-solomon/nn4.c
X%%LIBC_TARG%%/share/mpsgcc/examples/tcpip/README
X%%LIBC_TARG%%/share/mpsgcc/examples/tcpip/cs8900.c
X%%LIBC_TARG%%/share/mpsgcc/examples/tcpip/cs8900.h
X%%LIBC_TARG%%/share/mpsgcc/examples/tcpip/easyweb.c
X%%LIBC_TARG%%/share/mpsgcc/examples/tcpip/easyweb.h
X%%LIBC_TARG%%/share/mpsgcc/examples/tcpip/tcpip.c
X%%LIBC_TARG%%/share/mpsgcc/examples/tcpip/tcpip.h
X%%LIBC_TARG%%/share/mpsgcc/examples/tcpip/webside.c
X@dirrm %%LIBC_TARG%%/include/msp430
X@dirrm %%LIBC_TARG%%/include/sys
X@dirrm %%LIBC_TARG%%/include
X@dirrm %%LIBC_TARG%%/lib/msp1
X@dirrm %%LIBC_TARG%%/lib/msp2
X@dirrm %%LIBC_TARG%%/share/mpsgcc/doc
X@dirrm %%LIBC_TARG%%/share/mpsgcc/examples/adc
X@dirrm %%LIBC_TARG%%/share/mpsgcc/examples/rawsources
X@dirrm %%LIBC_TARG%%/share/mpsgcc/examples/reed-solomon
X@dirrm %%LIBC_TARG%%/share/mpsgcc/examples/tcpip
X@dirrm %%LIBC_TARG%%/share/mpsgcc/examples
X@dirrm %%LIBC_TARG%%/share/mpsgcc
X@unexec rmdir %D/%%LIBC_TARG%%/share 2>/dev/null || true
END-of-msp430-libc/pkg-plist
echo x - msp430-libc/pkg-descr
sed 's/^X//' >msp430-libc/pkg-descr << 'END-of-msp430-libc/pkg-descr'
Xlibc for TI's msp430 MCUs cross-development
X
X
X This port installs libc, libm and some docs and examples.
X Docs and examples could be found at ${PREFIX}/msp430/share/mspgcc
X
XGCC site:    http://gcc.gnu.org/
XMSP430 site: http://www.ti.com/msp430/
X
XWWW: http://mspgcc.sf.net/
END-of-msp430-libc/pkg-descr
echo x - msp430-libc/pkg-comment
sed 's/^X//' >msp430-libc/pkg-comment << 'END-of-msp430-libc/pkg-comment'
Xlibc for TI's msp430 MCUs cross-development
END-of-msp430-libc/pkg-comment
echo x - msp430-libc/distinfo
sed 's/^X//' >msp430-libc/distinfo << 'END-of-msp430-libc/distinfo'
XMD5 (libc-0.1.20021016.tar.bz2) = 0588d1b92316fa6ceb3639ce9e1b3292
END-of-msp430-libc/distinfo
echo x - msp430-libc/Makefile
sed 's/^X//' >msp430-libc/Makefile << 'END-of-msp430-libc/Makefile'
X# New ports collection makefile for:	msp430-libc
X# Date created:		15 October 2002
X# Whom:			Lev Serebryakov <lev@serebryakov.spb.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libc
XPORTVERSION=	0.1.20021016
XCATEGORIES=	devel
XMASTER_SITES=	http://lev.serebryakov.spb.ru/download/msp430/
XPKGNAMEPREFIX=	msp430-
X
XMAINTAINER=	lev@serebryakov.spb.ru
X
XBUILD_DEPENDS=	${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XWRKSRC=		${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}/src
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_REINPLACE=	yes
XMAKE_ENV=	PATH=${PREFIX}/bin:${PATH}
X
XPLIST_SUB+=	LIBC_TARG=${PKGNAMEPREFIX:S/-$//}
X
Xpost-configure:
X	${REINPLACE_CMD} "s|prefix = /usr/local/msp430|prefix = ${PREFIX}|" ${WRKSRC}/Makefile
X
Xpost-install:
X	@${MKDIR} ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/share/mpsgcc
X	@tar --exclude CVS -C ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME} -cf - examples doc | \
X		tar -xf - -C ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/share/mpsgcc
X
X.include <bsd.port.mk>
END-of-msp430-libc/Makefile
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?200210161359.g9GDxWbg056314>