Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2013 06:12:48 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324751 - in head/devel: . pasm
Message-ID:  <201308150612.r7F6CmrH074544@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo (src committer)
Date: Thu Aug 15 06:12:48 2013
New Revision: 324751
URL: http://svnweb.freebsd.org/changeset/ports/324751

Log:
  Add a port for the TI PASM.
  
  PASM stands for PRU assembler. PRU stands for Programmable Realtime Unit.
  
  Reviewed by:	ak

Added:
  head/devel/pasm/
  head/devel/pasm/Makefile   (contents, props changed)
  head/devel/pasm/distinfo   (contents, props changed)
  head/devel/pasm/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Aug 15 02:37:30 2013	(r324750)
+++ head/devel/Makefile	Thu Aug 15 06:12:48 2013	(r324751)
@@ -3036,6 +3036,7 @@
     SUBDIR += papi
     SUBDIR += papp
     SUBDIR += pas2dox
+    SUBDIR += pasm
     SUBDIR += patch
     SUBDIR += pccts
     SUBDIR += pcl

Added: head/devel/pasm/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pasm/Makefile	Thu Aug 15 06:12:48 2013	(r324751)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	pasm
+PORTVERSION=	0.84
+CATEGORIES=	devel
+MASTER_SITES=	https://github.com/rpaulo/am335x_pru_package/archive/
+
+MAINTAINER=	rpaulo@FreeBSD.org
+COMMENT=	TI PRU Assembler
+
+LICENSE=	BSD
+LICENSE_FILE=	${WRKSRC}/pru_sw/utils/LICENCE.txt
+
+WRKSRC=		${WRKDIR}/am335x_pru_package-${PORTNAME}-${PORTVERSION}
+FETCH_ARGS=	"-Fpr"
+PLIST_FILES=	bin/pasm
+
+do-build:
+	(cd ${WRKSRC}/pru_sw/utils/pasm_source && \
+		${CC} ${CFLAGS} -D_UNIX_ pasm.c pasmpp.c pasmexp.c pasmop.c \
+		pasmdot.c pasmstruct.c pasmmacro.c -o pasm)
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/pru_sw/utils/pasm_source/pasm ${PREFIX}/bin
+
+.include <bsd.port.mk>

Added: head/devel/pasm/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pasm/distinfo	Thu Aug 15 06:12:48 2013	(r324751)
@@ -0,0 +1,2 @@
+SHA256 (pasm-0.84.tar.gz) = e49b4c5f8be3a82122223591194b428fcf9ccbe0b59eb52ec3a7756a685faf8e
+SIZE (pasm-0.84.tar.gz) = 3788982

Added: head/devel/pasm/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pasm/pkg-descr	Thu Aug 15 06:12:48 2013	(r324751)
@@ -0,0 +1,8 @@
+TI PRU Assembler. For use with Texas Instruments Programmable
+Realtime Units.
+
+These materials are intended for do-it-yourself (DIY) users
+who want to use the PRU at their own risk without TI support.
+"Community" support is offered at BeagleBoard.org/discuss.
+
+WWW: https://github.com/beagleboard/am335x_pru_package



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