C library for the cross toolchain supporting Texas Instruments MSP430
architecture. PR: ports/44140 Submitted by: Lev Serebryakov <lev@serebryakov.spb.ru>
This commit is contained in:
parent
fd4b78651c
commit
060ab004f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69636
@ -377,6 +377,7 @@
|
||||
SUBDIR += msp430-binutils
|
||||
SUBDIR += msp430-gcc
|
||||
SUBDIR += msp430-gdb
|
||||
SUBDIR += msp430-libc
|
||||
SUBDIR += msrc0
|
||||
SUBDIR += nana
|
||||
SUBDIR += nasm
|
||||
|
36
devel/msp430-libc/Makefile
Normal file
36
devel/msp430-libc/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# New ports collection makefile for: msp430-libc
|
||||
# Date created: 15 October 2002
|
||||
# Whom: Lev Serebryakov <lev@serebryakov.spb.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libc
|
||||
PORTVERSION= 0.1.20021016
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://lev.serebryakov.spb.ru/download/msp430/
|
||||
PKGNAMEPREFIX= msp430-
|
||||
|
||||
MAINTAINER= lev@serebryakov.spb.ru
|
||||
|
||||
BUILD_DEPENDS= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}/src
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
MAKE_ENV= PATH=${PREFIX}/bin:${PATH}
|
||||
|
||||
PLIST_SUB+= LIBC_TARG=${PKGNAMEPREFIX:S/-$//}
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} "s|prefix = /usr/local/msp430|prefix = ${PREFIX}|" ${WRKSRC}/Makefile
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/share/mspgcc
|
||||
@tar --exclude CVS -C ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME} -cf - examples doc | \
|
||||
tar -xf - -C ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/share/mspgcc
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/msp430-libc/distinfo
Normal file
1
devel/msp430-libc/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (libc-0.1.20021016.tar.bz2) = 0588d1b92316fa6ceb3639ce9e1b3292
|
1
devel/msp430-libc/pkg-comment
Normal file
1
devel/msp430-libc/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
libc for TI's msp430 MCUs cross-development
|
10
devel/msp430-libc/pkg-descr
Normal file
10
devel/msp430-libc/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
libc for TI's msp430 MCUs cross-development
|
||||
|
||||
|
||||
This port installs libc, libm and some docs and examples.
|
||||
Docs and examples could be found at ${PREFIX}/msp430/share/mspgcc
|
||||
|
||||
GCC site: http://gcc.gnu.org/
|
||||
MSP430 site: http://www.ti.com/msp430/
|
||||
|
||||
WWW: http://mspgcc.sf.net/
|
116
devel/msp430-libc/pkg-plist
Normal file
116
devel/msp430-libc/pkg-plist
Normal file
@ -0,0 +1,116 @@
|
||||
%%LIBC_TARG%%/include/ctype.h
|
||||
%%LIBC_TARG%%/include/debug.h
|
||||
%%LIBC_TARG%%/include/errno.h
|
||||
%%LIBC_TARG%%/include/io.h
|
||||
%%LIBC_TARG%%/include/iomacros.h
|
||||
%%LIBC_TARG%%/include/limits.h
|
||||
%%LIBC_TARG%%/include/math.h
|
||||
%%LIBC_TARG%%/include/msp430/adc10.h
|
||||
%%LIBC_TARG%%/include/msp430/adc12.h
|
||||
%%LIBC_TARG%%/include/msp430/basic_clock.h
|
||||
%%LIBC_TARG%%/include/msp430/basic_timer.h
|
||||
%%LIBC_TARG%%/include/msp430/common.h
|
||||
%%LIBC_TARG%%/include/msp430/compa.h
|
||||
%%LIBC_TARG%%/include/msp430/eprom.h
|
||||
%%LIBC_TARG%%/include/msp430/flash.h
|
||||
%%LIBC_TARG%%/include/msp430/gpio.h
|
||||
%%LIBC_TARG%%/include/msp430/lcd.h
|
||||
%%LIBC_TARG%%/include/msp430/mpy.h
|
||||
%%LIBC_TARG%%/include/msp430/slopeadc.h
|
||||
%%LIBC_TARG%%/include/msp430/svs.h
|
||||
%%LIBC_TARG%%/include/msp430/system_clock.h
|
||||
%%LIBC_TARG%%/include/msp430/timer8.h
|
||||
%%LIBC_TARG%%/include/msp430/timera.h
|
||||
%%LIBC_TARG%%/include/msp430/timerb.h
|
||||
%%LIBC_TARG%%/include/msp430/timerport.h
|
||||
%%LIBC_TARG%%/include/msp430/usart.h
|
||||
%%LIBC_TARG%%/include/msp430x11x.h
|
||||
%%LIBC_TARG%%/include/msp430x11x1.h
|
||||
%%LIBC_TARG%%/include/msp430x12x.h
|
||||
%%LIBC_TARG%%/include/msp430x12x2.h
|
||||
%%LIBC_TARG%%/include/msp430x13x.h
|
||||
%%LIBC_TARG%%/include/msp430x14x.h
|
||||
%%LIBC_TARG%%/include/msp430x31x.h
|
||||
%%LIBC_TARG%%/include/msp430x32x.h
|
||||
%%LIBC_TARG%%/include/msp430x33x.h
|
||||
%%LIBC_TARG%%/include/msp430x41x.h
|
||||
%%LIBC_TARG%%/include/msp430x43x.h
|
||||
%%LIBC_TARG%%/include/msp430x44x.h
|
||||
%%LIBC_TARG%%/include/setjmp.h
|
||||
%%LIBC_TARG%%/include/signal.h
|
||||
%%LIBC_TARG%%/include/stdio.h
|
||||
%%LIBC_TARG%%/include/stdlib.h
|
||||
%%LIBC_TARG%%/include/string.h
|
||||
%%LIBC_TARG%%/include/sys/cdefs.h
|
||||
%%LIBC_TARG%%/include/sys/inttypes.h
|
||||
%%LIBC_TARG%%/include/sys/types.h
|
||||
%%LIBC_TARG%%/lib/crt430x110.o
|
||||
%%LIBC_TARG%%/lib/crt430x1101.o
|
||||
%%LIBC_TARG%%/lib/crt430x1111.o
|
||||
%%LIBC_TARG%%/lib/crt430x112.o
|
||||
%%LIBC_TARG%%/lib/crt430x1121.o
|
||||
%%LIBC_TARG%%/lib/crt430x122.o
|
||||
%%LIBC_TARG%%/lib/crt430x1222.o
|
||||
%%LIBC_TARG%%/lib/crt430x123.o
|
||||
%%LIBC_TARG%%/lib/crt430x1232.o
|
||||
%%LIBC_TARG%%/lib/crt430x133.o
|
||||
%%LIBC_TARG%%/lib/crt430x1331.o
|
||||
%%LIBC_TARG%%/lib/crt430x135.o
|
||||
%%LIBC_TARG%%/lib/crt430x1351.o
|
||||
%%LIBC_TARG%%/lib/crt430x147.o
|
||||
%%LIBC_TARG%%/lib/crt430x148.o
|
||||
%%LIBC_TARG%%/lib/crt430x149.o
|
||||
%%LIBC_TARG%%/lib/crt430x311.o
|
||||
%%LIBC_TARG%%/lib/crt430x312.o
|
||||
%%LIBC_TARG%%/lib/crt430x313.o
|
||||
%%LIBC_TARG%%/lib/crt430x314.o
|
||||
%%LIBC_TARG%%/lib/crt430x315.o
|
||||
%%LIBC_TARG%%/lib/crt430x323.o
|
||||
%%LIBC_TARG%%/lib/crt430x325.o
|
||||
%%LIBC_TARG%%/lib/crt430x336.o
|
||||
%%LIBC_TARG%%/lib/crt430x337.o
|
||||
%%LIBC_TARG%%/lib/crt430x412.o
|
||||
%%LIBC_TARG%%/lib/crt430x413.o
|
||||
%%LIBC_TARG%%/lib/crt430x435.o
|
||||
%%LIBC_TARG%%/lib/crt430x436.o
|
||||
%%LIBC_TARG%%/lib/crt430x437.o
|
||||
%%LIBC_TARG%%/lib/crt430x447.o
|
||||
%%LIBC_TARG%%/lib/crt430x448.o
|
||||
%%LIBC_TARG%%/lib/crt430x449.o
|
||||
%%LIBC_TARG%%/lib/libc.a
|
||||
%%LIBC_TARG%%/lib/libm.a
|
||||
%%LIBC_TARG%%/lib/msp1/libc.a
|
||||
%%LIBC_TARG%%/lib/msp1/libm.a
|
||||
%%LIBC_TARG%%/lib/msp2/libc.a
|
||||
%%LIBC_TARG%%/lib/msp2/libm.a
|
||||
%%LIBC_TARG%%/share/mspgcc/doc/FAQ
|
||||
%%LIBC_TARG%%/share/mspgcc/doc/devheaders.txt
|
||||
%%LIBC_TARG%%/share/mspgcc/doc/doc.txt
|
||||
%%LIBC_TARG%%/share/mspgcc/doc/volatil
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/rawsources/README
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/rawsources/flash.c
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/rawsources/rand.c
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/reed-solomon/README
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/reed-solomon/nn4.c
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/tcpip/README
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/tcpip/cs8900.c
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/tcpip/cs8900.h
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/tcpip/easyweb.c
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/tcpip/easyweb.h
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/tcpip/tcpip.c
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/tcpip/tcpip.h
|
||||
%%LIBC_TARG%%/share/mspgcc/examples/tcpip/webside.c
|
||||
@exec mkdir -p %D/%%LIBC_TARG%%/share/mspgcc/examples/adc
|
||||
@dirrm %%LIBC_TARG%%/include/msp430
|
||||
@dirrm %%LIBC_TARG%%/include/sys
|
||||
@dirrm %%LIBC_TARG%%/include
|
||||
@dirrm %%LIBC_TARG%%/lib/msp1
|
||||
@dirrm %%LIBC_TARG%%/lib/msp2
|
||||
@dirrm %%LIBC_TARG%%/share/mspgcc/doc
|
||||
@dirrm %%LIBC_TARG%%/share/mspgcc/examples/adc
|
||||
@dirrm %%LIBC_TARG%%/share/mspgcc/examples/rawsources
|
||||
@dirrm %%LIBC_TARG%%/share/mspgcc/examples/reed-solomon
|
||||
@dirrm %%LIBC_TARG%%/share/mspgcc/examples/tcpip
|
||||
@dirrm %%LIBC_TARG%%/share/mspgcc/examples
|
||||
@dirrm %%LIBC_TARG%%/share/mspgcc
|
||||
@unexec rmdir %D/%%LIBC_TARG%%/share 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user