1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Companion gdb for arm bare metal for all the build tools.

This commit is contained in:
Warner Losh 2015-11-10 20:08:45 +00:00
parent 2a93f197e3
commit 592864cb0f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401205
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# Created by: M. Warner Losh <imp@freebsd.org>
# $FreeBSD$
PORTNAME= gdb
PORTVERSION= 7.10
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= GNU
PKGNAMEPREFIX= arm-none-eabi-
DISTNAME= gdb-${PORTVERSION}
MAINTAINER= imp@FreeBSD.org
COMMENT= GNU GDB for the arm bare metal target
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
USES= gmake tar:xz iconv gmake libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target=arm-none-eabi --program-prefix=arm-none-eabi- --disable-nls \
--disable-werror
pre-configure:
cd ${WRKSRC} ; ${RM} -rf dejagnu expect tcl texinfo
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (gdb-7.10.tar.xz) = 7ebdaa44f9786ce0c142da4e36797d2020c55fa091905ac5af1846b5756208a8
SIZE (gdb-7.10.tar.xz) = 18540820

View File

@ -0,0 +1,8 @@
This is the GNU Debugger GDB, configured for the AVR microcontroller
target.
This debugger cannot really be used standalone, but is useful in
connection with either AVaRICE (http://avarice.sourceforge.net/)
or simulavr (http://www.freesoftware.fsf.org/simulavr/).
WWW: http://www.gnu.org/software/gdb/

View File

@ -0,0 +1 @@
bin/arm-none-eabi-gdb